Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 | grep -v cmp |
Dan Gohman | ec59604 | 2007-09-17 14:35:24 +0000 | [diff] [blame] | 2 | |
3 | define i64 @foo(i64 %x) { | ||||
4 | %t = icmp eq i64 %x, 0 | ||||
5 | %r = zext i1 %t to i64 | ||||
6 | ret i64 %r | ||||
7 | } |