[RISCV] Fix mir-target-flags.ll
authorSam Elliott <selliott@lowrisc.org>
Mon, 9 Dec 2019 13:51:08 +0000 (13:51 +0000)
committerSam Elliott <selliott@lowrisc.org>
Mon, 9 Dec 2019 13:51:08 +0000 (13:51 +0000)
llvm/test/CodeGen/RISCV/mir-target-flags.ll

index fcfdcfd..f41fb77 100644 (file)
@@ -26,16 +26,13 @@ define i32 @caller(i32 %a) nounwind {
 ; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_e
 ; RV32-SMALL-NEXT: target-flags(riscv-hi) @g_i
 ; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_i
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_le
+; RV32-SMALL:      target-flags(riscv-tls-got-hi) @t_un
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.1
+; RV32-SMALL:      target-flags(riscv-tls-got-hi) @t_ld
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.2
+; RV32-SMALL:      target-flags(riscv-tls-got-hi) @t_ie
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.3
+; RV32-SMALL:      target-flags(riscv-tprel-hi) @t_le
 ; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_le
 ; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_le
 ; RV32-SMALL:      target-flags(riscv-call) @callee