2005-04-09 00:46:44 +08:00
|
|
|
; Make sure this testcase codegens to the ornot instruction
|
2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=alpha | grep ornot
|
2005-04-09 00:46:44 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
define i64 @bar(i64 %x, i64 %y) {
|
2005-04-09 00:46:44 +08:00
|
|
|
entry:
|
2008-02-19 09:41:04 +08:00
|
|
|
%tmp.1 = xor i64 %x, -1 ; <i64> [#uses=1]
|
|
|
|
%tmp.2 = or i64 %y, %tmp.1 ; <i64> [#uses=1]
|
|
|
|
ret i64 %tmp.2
|
2005-04-09 00:46:44 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|