[llvm] d507c01 - [LoongArch] Convert test to opaque pointer. NFC

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 22:57:14 PST 2023


Author: wanglei
Date: 2023-02-10T14:56:27+08:00
New Revision: d507c01012de859b312b3bb4b1a1cf9554db7c8c

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

LOG: [LoongArch] Convert test to opaque pointer. NFC

Added: 
    

Modified: 
    llvm/test/CodeGen/LoongArch/inline-asm-constraint.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/LoongArch/inline-asm-constraint.ll b/llvm/test/CodeGen/LoongArch/inline-asm-constraint.ll
index 4b63d3b0a0a2c..6ad52756b6662 100644
--- a/llvm/test/CodeGen/LoongArch/inline-asm-constraint.ll
+++ b/llvm/test/CodeGen/LoongArch/inline-asm-constraint.ll
@@ -104,7 +104,7 @@ define void @operand_block_address() nounwind {
 ; CHECK-NEXT:  .Ltmp0: # Block address taken
 ; CHECK-NEXT:  # %bb.1: # %bb
 ; CHECK-NEXT:    ret
-  call void asm sideeffect "b $0", "i"(i8* blockaddress(@operand_block_address, %bb))
+  call void asm sideeffect "b $0", "i"(ptr blockaddress(@operand_block_address, %bb))
   br label %bb
 bb:
   ret void


        


More information about the llvm-commits mailing list