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
19
external/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
vendored
Normal file
19
external/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
|
||||
declare i1 @b()
|
||||
|
||||
define i32 @a(i32 %x) nounwind {
|
||||
for.body.preheader:
|
||||
%y = sdiv i32 10, %x
|
||||
br label %for.body
|
||||
|
||||
for.body:
|
||||
%cmp = call i1 @b()
|
||||
br i1 %cmp, label %for.body, label %for.end.loopexit
|
||||
|
||||
for.end.loopexit:
|
||||
ret i32 %y
|
||||
}
|
||||
; CHECK: for.end.loopexit:
|
||||
; CHECK: sdiv
|
||||
; CHECK: ret
|
Reference in New Issue
Block a user