diff options
author | taewookoh <taewook.oh@gmail.com> | 2019-11-27 11:17:10 -0800 |
---|---|---|
committer | taewookoh <taewook.oh@gmail.com> | 2019-11-27 11:17:10 -0800 |
commit | 5d21f75b57658db538b5e1764edc775271a651cd (patch) | |
tree | 9a37ffa22670f4546f4994ada7a8524e468f7bbe /llvm/test/Analysis/BranchProbabilityInfo/basic.ll | |
parent | 5c166f1d1969e9c1e5b72aa672add429b9c22b53 (diff) | |
download | bcm5719-llvm-5d21f75b57658db538b5e1764edc775271a651cd.tar.gz bcm5719-llvm-5d21f75b57658db538b5e1764edc775271a651cd.zip |
Revert b19ec1eb3d0c
Summary: This reverts commit b19ec1eb3d0c as it fails powerpc tests
Subscribers: llvm-commits
Diffstat (limited to 'llvm/test/Analysis/BranchProbabilityInfo/basic.ll')
-rw-r--r-- | llvm/test/Analysis/BranchProbabilityInfo/basic.ll | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/test/Analysis/BranchProbabilityInfo/basic.ll b/llvm/test/Analysis/BranchProbabilityInfo/basic.ll index 8212cc47690..64e0a82456f 100644 --- a/llvm/test/Analysis/BranchProbabilityInfo/basic.ll +++ b/llvm/test/Analysis/BranchProbabilityInfo/basic.ll @@ -141,24 +141,6 @@ exit: ret i32 %result } -define i32 @test_cold_loop(i32 %a, i32 %b) { -entry: - %cond1 = icmp eq i32 %a, 42 - br i1 %cond1, label %header, label %exit - -header: - br label %body - -body: - %cond2 = icmp eq i32 %b, 42 - br i1 %cond2, label %header, label %exit -; CHECK: edge body -> header probability is 0x40000000 / 0x80000000 = 50.00% - -exit: - call void @coldfunc() - ret i32 %b -} - declare i32 @regular_function(i32 %i) define i32 @test_cold_call_sites_with_prof(i32 %a, i32 %b, i1 %flag, i1 %flag2) { |