diff options
| author | Simon Dardis <simon.dardis@mips.com> | 2018-04-27 15:49:49 +0000 |
|---|---|---|
| committer | Simon Dardis <simon.dardis@mips.com> | 2018-04-27 15:49:49 +0000 |
| commit | e3c3c5a7a72ad9afac80fdf0ee34aa1a76ddd5a2 (patch) | |
| tree | f72e9833220c2c152cf25a71d875397e400a0c69 /llvm/test | |
| parent | 776cd7ad44881d78e7f674aec092107dbfc1f56d (diff) | |
| download | bcm5719-llvm-e3c3c5a7a72ad9afac80fdf0ee34aa1a76ddd5a2.tar.gz bcm5719-llvm-e3c3c5a7a72ad9afac80fdf0ee34aa1a76ddd5a2.zip | |
[mips] Analyze and provide selection patterns microMIPSR6 branches
These branches were previously unanalyzable and unselectable. Add them and
recognize how to generate their inverses.
Reviewers: smaksimovic, atanasyan, abeserminji
Differential Revision: https://reviews.llvm.org/D46113
llvm-svn: 331050
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/Mips/longbranch.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/Mips/longbranch.ll b/llvm/test/CodeGen/Mips/longbranch.ll index 69eb18978e5..37496e0f8d7 100644 --- a/llvm/test/CodeGen/Mips/longbranch.ll +++ b/llvm/test/CodeGen/Mips/longbranch.ll @@ -249,14 +249,12 @@ define void @test1(i32 signext %s) { ; MICROMIPSR6STATIC: # %bb.0: # %entry ; MICROMIPSR6STATIC-NEXT: bnezc $4, $BB0_2 ; MICROMIPSR6STATIC-NEXT: # %bb.1: # %entry -; MICROMIPSR6STATIC-NEXT: bc $BB0_4 -; MICROMIPSR6STATIC-NEXT: $BB0_2: # %entry ; MICROMIPSR6STATIC-NEXT: bc $BB0_3 -; MICROMIPSR6STATIC-NEXT: $BB0_3: # %then +; MICROMIPSR6STATIC-NEXT: $BB0_2: # %then ; MICROMIPSR6STATIC-NEXT: lui $1, %hi(x) ; MICROMIPSR6STATIC-NEXT: li16 $2, 1 ; MICROMIPSR6STATIC-NEXT: sw $2, %lo(x)($1) -; MICROMIPSR6STATIC-NEXT: $BB0_4: # %end +; MICROMIPSR6STATIC-NEXT: $BB0_3: # %end ; MICROMIPSR6STATIC-NEXT: jrc $ra ; ; MICROMIPSR6PIC-LABEL: test1: |

