[PATCH] D17079: [mips] Added -gpsize=0 to a test case as this is required in order to emit the same code as GAS.

Scott Egerton via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 09:24:57 PST 2016


s.egerton created this revision.
s.egerton added reviewers: dsanders, vkalintiris.
s.egerton added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.

In one case, GAS will emit slightly different code without this option.
The IAS's behaviour does not change with or without this option.

http://reviews.llvm.org/D17079

Files:
  test/MC/Mips/macro-dla-32bit.s

Index: test/MC/Mips/macro-dla-32bit.s
===================================================================
--- test/MC/Mips/macro-dla-32bit.s
+++ test/MC/Mips/macro-dla-32bit.s
@@ -1,7 +1,7 @@
-# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \
-# RUN:   FileCheck %s
-# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 | \
-# RUN:   FileCheck %s
+# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 \
+# RUN:   -gpsize=0 | FileCheck %s
+# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 \
+# RUN:   -gpsize=0 | FileCheck %s
 
 .set mips64r2
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17079.47470.patch
Type: text/x-patch
Size: 643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160210/041bfb48/attachment.bin>


More information about the llvm-commits mailing list