summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/cast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/cast.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/cast.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstCombine/cast.ll b/llvm/test/Transforms/InstCombine/cast.ll
index 27222673f78..59d7cd051d3 100644
--- a/llvm/test/Transforms/InstCombine/cast.ll
+++ b/llvm/test/Transforms/InstCombine/cast.ll
@@ -79,9 +79,9 @@ define void @test11(i32* %P) {
}
define i32* @test12() {
- %c = malloc [4 x i8] ; <[4 x i8]*> [#uses=1]
- %p = bitcast [4 x i8]* %c to i32* ; <i32*> [#uses=1]
- ret i32* %p
+ %p = malloc [4 x i8] ; <[4 x i8]*> [#uses=1]
+ %c = bitcast [4 x i8]* %p to i32* ; <i32*> [#uses=1]
+ ret i32* %c
}
define i8* @test13(i64 %A) {
%c = getelementptr [0 x i8]* bitcast ([32832 x i8]* @inbuf to [0 x i8]*), i64 0, i64 %A ; <i8*> [#uses=1]
OpenPOWER on IntegriCloud