blob: d4aa399ae95d5dfa8441031d6b7f37f3d5a2b0b3 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86-64 | grep -v cmp
Dan Gohman37b34262007-09-17 14:49:27 +00002
3define i64 @foo(i64 %x) {
4 %t = icmp slt i64 %x, 1
5 %r = zext i1 %t to i64
6 ret i64 %r
7}