mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
check that casts still use zap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed09502a0b
commit
f701697101
11
test/CodeGen/Alpha/zapnot.ll
Normal file
11
test/CodeGen/Alpha/zapnot.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; Make sure this testcase codegens to the bic instruction
|
||||
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
ushort %foo(long %y) {
|
||||
entry:
|
||||
%tmp.1 = cast long %y to ushort ; <ushort> [#uses=1]
|
||||
ret ushort %tmp.1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user