Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the zapnot instruction |
Tanya Lattner | 53a66d1 | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 2 | ; RUN: llvm-as < %s | llc -march=alpha | grep zapnot |
Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 3 | |
Tanya Lattner | 53a66d1 | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 4 | define i64 @bar(i64 %x) { |
Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 5 | entry: |
Tanya Lattner | 53a66d1 | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 6 | %tmp.1 = and i64 %x, 16711935 ; <i64> [#uses=1] |
7 | ret i64 %tmp.1 | ||||
Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 8 | } |
Tanya Lattner | 53a66d1 | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 9 |