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
31
external/llvm/test/Transforms/SpeculativeExecution/spec-compares.ll
vendored
Normal file
31
external/llvm/test/Transforms/SpeculativeExecution/spec-compares.ll
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
; RUN: opt < %s -S -speculative-execution \
|
||||
; RUN: -spec-exec-max-speculation-cost 4 -spec-exec-max-not-hoisted 3 \
|
||||
; RUN: | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: @ifThen_icmp(
|
||||
; CHECK: icmp
|
||||
; CHECK: br i1 true
|
||||
define void @ifThen_icmp() {
|
||||
br i1 true, label %a, label %b
|
||||
|
||||
a:
|
||||
%x = icmp eq i32 undef, undef
|
||||
br label %b
|
||||
|
||||
b:
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-LABEL: @ifThen_fcmp(
|
||||
; CHECK: fcmp
|
||||
; CHECK: br i1 true
|
||||
define void @ifThen_fcmp() {
|
||||
br i1 true, label %a, label %b
|
||||
|
||||
a:
|
||||
%x = fcmp oeq float undef, undef
|
||||
br label %b
|
||||
|
||||
b:
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user