[llvm] f52c1b5 - [VE] Add missing symbolic branch patterns

Kazushi Marukawa via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 07:29:15 PDT 2020


Author: Kazushi (Jam) Marukawa
Date: 2020-10-29T23:29:07+09:00
New Revision: f52c1b53310a1715b85b358a5c3de0e1f7c2e227

URL: https://github.com/llvm/llvm-project/commit/f52c1b53310a1715b85b358a5c3de0e1f7c2e227
DIFF: https://github.com/llvm/llvm-project/commit/f52c1b53310a1715b85b358a5c3de0e1f7c2e227.diff

LOG: [VE] Add missing symbolic branch patterns

Add missing symbolic branch patterns to a regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D90388

Added: 
    

Modified: 
    llvm/test/MC/VE/sym-br.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/VE/sym-br.s b/llvm/test/MC/VE/sym-br.s
index 87800b518b06..8e054791de74 100644
--- a/llvm/test/MC/VE/sym-br.s
+++ b/llvm/test/MC/VE/sym-br.s
@@ -1,10 +1,16 @@
 # RUN: llvm-mc -triple=ve %s -o - | FileCheck %s
 # RUN: llvm-mc -triple=ve -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s --check-prefix=CHECK-OBJ
 
+        b.l.t tgt
+        br.l.t tgt2
         b.l.t tgt(, %s1)
         b.l.t tgt+24(, %s1)
-# CHECK: b.l.t tgt(, %s1)
+# CHECK: b.l.t tgt
+# CHECK-NEXT: br.l.t tgt2
+# CHECK-NEXT: b.l.t tgt(, %s1)
 # CHECK-NEXT: b.l.t tgt+24(, %s1)
 
 # CHECK-OBJ: 0 R_VE_REFLONG tgt
-# CHECK-OBJ-NEXT: 8 R_VE_REFLONG tgt+0x18
+# CHECK-OBJ: 8 R_VE_PC_LO32 tgt2
+# CHECK-OBJ: 10 R_VE_REFLONG tgt
+# CHECK-OBJ: 18 R_VE_REFLONG tgt+0x18


        


More information about the llvm-commits mailing list