mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90ac28cf3e
commit
77c1462728
@ -2,9 +2,10 @@
|
||||
; SOME instruction named %c here, even if it's a bitwise and.
|
||||
;
|
||||
; RUN: as < %s | opt -instcombine | grep '%c'
|
||||
;
|
||||
ulong %test3(ulong %A) {
|
||||
%c1 = cast ulong %A to ubyte ; <ubyte> [#uses=0]
|
||||
%c2 = cast ulong %A to ulong ; <ulong> [#uses=0]
|
||||
%c1 = cast ulong %A to ubyte
|
||||
%c2 = cast ubyte %c1 to ulong
|
||||
ret ulong %A
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user