[PATCH] D86489: [PowerPC] Add addtional test that retroactively catches PR47259
Brandon Bergren via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 30 13:24:02 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf07b95e8bcd1: [PowerPC] Add addtional test that retroactively catches PR47259 (authored by Bdragon28).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86489/new/
https://reviews.llvm.org/D86489
Files:
llvm/test/MC/PowerPC/ppc64-encoding-ext.s
Index: llvm/test/MC/PowerPC/ppc64-encoding-ext.s
===================================================================
--- llvm/test/MC/PowerPC/ppc64-encoding-ext.s
+++ llvm/test/MC/PowerPC/ppc64-encoding-ext.s
@@ -3571,6 +3571,11 @@
# CHECK-LE: mfspr 4, 275 # encoding: [0xa6,0x42,0x93,0x7c]
mfsprg %r4, 3
+# Bug PR47259
+# CHECK-BE: mfspr 2, 274 # encoding: [0x7c,0x52,0x42,0xa6]
+# CHECK-LE: mfspr 2, 274 # encoding: [0xa6,0x42,0x52,0x7c]
+ mfsprg 2, 2
+
# CHECK-BE: mfspr 2, 272 # encoding: [0x7c,0x50,0x42,0xa6]
# CHECK-LE: mfspr 2, 272 # encoding: [0xa6,0x42,0x50,0x7c]
mfsprg0 %r2
@@ -3600,6 +3605,11 @@
# CHECK-LE: mtspr 275, 4 # encoding: [0xa6,0x43,0x93,0x7c]
mtsprg 3, %r4
+# Bug PR47259
+# CHECK-BE: mtspr 274, 2 # encoding: [0x7c,0x52,0x43,0xa6]
+# CHECK-LE: mtspr 274, 2 # encoding: [0xa6,0x43,0x52,0x7c]
+ mtsprg 2, 2
+
# CHECK-BE: mtspr 272, 4 # encoding: [0x7c,0x90,0x43,0xa6]
# CHECK-LE: mtspr 272, 4 # encoding: [0xa6,0x43,0x90,0x7c]
mtsprg0 %r4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86489.314146.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201230/f511a680/attachment.bin>
More information about the llvm-commits
mailing list