blob: 6a33ca2ab21f2d5594bd3fbc98cf17f4ac692300 [file] [log] [blame]
Andrew Lenharth80563ff2005-04-14 16:17:49 +00001; Make sure this testcase codegens to the zapnot instruction
Tanya Lattner53a66d12008-02-19 01:41:04 +00002; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
Andrew Lenharth80563ff2005-04-14 16:17:49 +00003
Tanya Lattner53a66d12008-02-19 01:41:04 +00004define i64 @bar(i64 %x) {
Andrew Lenharth80563ff2005-04-14 16:17:49 +00005entry:
Tanya Lattner53a66d12008-02-19 01:41:04 +00006 %tmp.1 = and i64 %x, 16711935 ; <i64> [#uses=1]
7 ret i64 %tmp.1
Andrew Lenharth80563ff2005-04-14 16:17:49 +00008}
Tanya Lattner53a66d12008-02-19 01:41:04 +00009