[PATCH] D34368: [AArch64] PointerRegClass should be GPR64spRegClass
Yi Kong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 17:07:16 PDT 2017
kongyi updated this revision to Diff 103670.
kongyi retitled this revision from "[AArch64] PointerRegClass should not include XZR" to "[AArch64] PointerRegClass should be GPR64spRegClass".
kongyi edited the summary of this revision.
https://reviews.llvm.org/D34368
Files:
lib/Target/AArch64/AArch64RegisterInfo.cpp
Index: lib/Target/AArch64/AArch64RegisterInfo.cpp
===================================================================
--- lib/Target/AArch64/AArch64RegisterInfo.cpp
+++ lib/Target/AArch64/AArch64RegisterInfo.cpp
@@ -167,7 +167,7 @@
const TargetRegisterClass *
AArch64RegisterInfo::getPointerRegClass(const MachineFunction &MF,
unsigned Kind) const {
- return &AArch64::GPR64RegClass;
+ return &AArch64::GPR64spRegClass;
}
const TargetRegisterClass *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34368.103670.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/9742838a/attachment.bin>
More information about the llvm-commits
mailing list