summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64InstrInfo.td
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2013-11-12 19:13:08 +0000
committerChad Rosier <mcrosier@codeaurora.org>2013-11-12 19:13:08 +0000
commit13c83a2a09a0842ff57ec020fe3f534de766ccd1 (patch)
tree6a1897904b0179913e91d404e6d139aa733f1e79 /lib/Target/AArch64/AArch64InstrInfo.td
parent3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6 (diff)
downloadllvm-13c83a2a09a0842ff57ec020fe3f534de766ccd1.tar.gz
llvm-13c83a2a09a0842ff57ec020fe3f534de766ccd1.tar.bz2
llvm-13c83a2a09a0842ff57ec020fe3f534de766ccd1.tar.xz
[AArch64] Implemented AdvSIMD scalar x indexed element format and AdvSIMD scalar
copy in MC layer. Added the MC layer tests. Fixed triple setting in test cases. Patch by Ana Pazos <apazos@codeaurora.org>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64InstrInfo.td')
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/AArch64/AArch64InstrInfo.td b/lib/Target/AArch64/AArch64InstrInfo.td
index ae217f9d4f..23d81fc478 100644
--- a/lib/Target/AArch64/AArch64InstrInfo.td
+++ b/lib/Target/AArch64/AArch64InstrInfo.td
@@ -1278,7 +1278,7 @@ def : Pat<(i64 (sext_inreg (anyext i32:$Rn), i1)),
// UBFX makes sense as an implementation of a 64-bit zero-extension too. Could
// use either 64-bit or 32-bit variant, but 32-bit might be more efficient.
-def : Pat<(zext i32:$Rn), (SUBREG_TO_REG (i64 0), (UBFXwwii $Rn, 0, 31),
+def : Pat<(i64 (zext i32:$Rn)), (SUBREG_TO_REG (i64 0), (UBFXwwii $Rn, 0, 31),
sub_32)>;
//===-------------------------------