[llvm] beb937e - [JITLink][PowerPC] Correct size and align in assembly directives. NFC.

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 22:25:10 PDT 2023


Author: Kai Luo
Date: 2023-08-09T05:24:47Z
New Revision: beb937e8dda4b68345badb43939eabf28c12d2d4

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

LOG: [JITLink][PowerPC] Correct size and align in assembly directives. NFC.

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-relocs.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-relocs.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-relocs.s
index 6f6aa33289816b..6f5b29eb5a33ed 100644
--- a/llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-relocs.s
+++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-relocs.s
@@ -187,7 +187,7 @@ bar:
 	.size	bar, .Lfunc_end7-.Lfunc_begin7
 
   .global foobar
-  .p2align
+  .p2align 4
   .type foobar, at function
 foobar:
 .Lfunc_begin8:
@@ -195,7 +195,7 @@ foobar:
   paddi 3, 0, .L.str at PCREL, 1
   blr
 .Lfunc_end8:
-  .size foobar, .Lfunc_end8-.Lfunc_end8
+  .size foobar, .Lfunc_end8-.Lfunc_begin8
 
 	.type	local_var, at object
 	.section	.bss,"aw", at nobits


        


More information about the llvm-commits mailing list