2005-04-15 00:17:49 +08:00
|
|
|
; Make sure this testcase codegens to the zapnot instruction
|
2008-02-19 09:41:04 +08:00
|
|
|
; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
|
2005-04-15 00:17:49 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
define i64 @bar(i64 %x) {
|
2005-04-15 00:17:49 +08:00
|
|
|
entry:
|
2008-02-19 09:41:04 +08:00
|
|
|
%tmp.1 = and i64 %x, 16711935 ; <i64> [#uses=1]
|
|
|
|
ret i64 %tmp.1
|
2005-04-15 00:17:49 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|