llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / cmp1.ll
release_26

Tree @release_26 (Download .tar.gz)

cmp1.ll @release_26raw · history · blame

1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=x86-64 | grep -v cmp

define i64 @foo(i64 %x) {
  %t = icmp slt i64 %x, 1
  %r = zext i1 %t to i64
  ret i64 %r
}