You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
13
external/llvm/test/Transforms/GVN/bitcast-of-call.ll
vendored
Normal file
13
external/llvm/test/Transforms/GVN/bitcast-of-call.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: opt < %s -gvn -S | FileCheck %s
|
||||
; PR2213
|
||||
|
||||
define i32* @f(i8* %x) {
|
||||
entry:
|
||||
%tmp = call i8* @m( i32 12 ) ; <i8*> [#uses=2]
|
||||
%tmp1 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0]
|
||||
%tmp2 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0]
|
||||
; CHECK-NOT: %tmp2
|
||||
ret i32* %tmp2
|
||||
}
|
||||
|
||||
declare i8* @m(i32)
|
Reference in New Issue
Block a user