repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64] Regenerate fp16 tests.
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
PowerPC
/
compare-simm.ll
blob
87a1d7ff40bf6bdb902c1015d4d341de98133631
1
; RUN: llc -verify-machineinstrs -ppc-asm-full-reg-names < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
2
3
define i32 @test(i32 %x) nounwind {
4
; CHECK-LABEL: @test
5
; CHECK: cmpwi r3, -1
6
7
%c = icmp eq i32 %x, -1
8
br i1 %c, label %T, label %F
9
T:
10
%A = call i32 @test(i32 123)
11
%B = add i32 %A, 43
12
ret i32 %B
13
F:
14
%G = add i32 %x, 1234
15
ret i32 %G
16
}