You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
16
external/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll
vendored
Normal file
16
external/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: opt < %s -basicaa -gvn -instcombine -S | FileCheck %s
|
||||
; PR1600
|
||||
|
||||
declare i16 @llvm.cttz.i16(i16, i1)
|
||||
|
||||
define i32 @test(i32* %P, i16* %Q) {
|
||||
; CHECK: ret i32 0
|
||||
%A = load i16, i16* %Q ; <i16> [#uses=1]
|
||||
%x = load i32, i32* %P ; <i32> [#uses=1]
|
||||
%B = call i16 @llvm.cttz.i16( i16 %A, i1 true ) ; <i16> [#uses=1]
|
||||
%y = load i32, i32* %P ; <i32> [#uses=1]
|
||||
store i16 %B, i16* %Q
|
||||
%z = sub i32 %x, %y ; <i32> [#uses=1]
|
||||
ret i32 %z
|
||||
}
|
||||
|
Reference in New Issue
Block a user