llvm.org GIT mirror llvm / 8689150
[ARM/AARCH64] Make test MachineBranchProb.ll more robust and re-enable for ARM/AArch64 Summary: Make test robust enough to not fail due to CFG changes and re-enable for ARM/AArch64. Reviewers: rovka, fhahn Reviewed By: fhahn Subscribers: fhahn, aemerson, rengolin, mcrosier, llvm-commits, kristof.beyls Differential Revision: https://reviews.llvm.org/D38590 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315002 91177308-0d34-0410-b5e6-96231b3b80d8 Balaram Makam 3 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llc < %s -print-machineinstrs=expand-isel-pseudos -o /dev/null 2>&1 | FileCheck %s
1
2 ; ARM & AArch64 run an extra SimplifyCFG which disrupts this test.
3 ; UNSUPPORTED: arm,aarch64
41
52 ; Hexagon runs passes that renumber the basic blocks, causing this test
63 ; to fail.
85
96 ; Bug: PR31899
107 ; XFAIL: avr
8
9 declare void @foo()
1110
1211 ; Make sure we have the correct weight attached to each successor.
1312 define i32 @test2(i32 %x) nounwind uwtable readnone ssp {
2827 ; CHECK: Successors according to CFG: BB#1({{[0-9a-fx/= ]+}}36.36%) BB#3({{[0-9a-fx/= ]+}}63.64%)
2928
3029 sw.bb:
30 ; this call will prevent simplifyCFG from optimizing the block away in ARM/AArch64.
31 tail call void @foo()
3132 br label %return
3233
3334 sw.bb1: