projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ac28c
)
Fix bug in testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 2 Aug 2002 19:54:05 +0000
(19:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 2 Aug 2002 19:54:05 +0000
(19:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/2002-08-02-CastTest.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/2002-08-02-CastTest.ll
b/test/Transforms/InstCombine/2002-08-02-CastTest.ll
index 7ce791cf0e5feadb2ebcfdf88981fa801edad05b..dcbdfa24d9a1d0eec62d0657158d30810d0d3be3 100644
(file)
--- a/
test/Transforms/InstCombine/2002-08-02-CastTest.ll
+++ b/
test/Transforms/InstCombine/2002-08-02-CastTest.ll
@@
-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 u
long %A to ulong ; <ulong> [#uses=0]
+ %c1 = cast ulong %A to ubyte
+ %c2 = cast u
byte %c1 to ulong
ret ulong %A
}