[PATCH] D80460: [AArch64][GlobalISel] When generating SUBS for compares, don't write to wzr/xzr.
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 16:06:05 PDT 2020
paquette added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:3702
CmpOpc = AArch64::SUBSWrr;
ZReg = AArch64::WZR;
+ ZReg = MRI.createVirtualRegister(&AArch64::GPR32RegClass);
----------------
Can probably remove this
================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:3706
CmpOpc = AArch64::SUBSXrr;
ZReg = AArch64::XZR;
+ ZReg = MRI.createVirtualRegister(&AArch64::GPR64RegClass);
----------------
Can probably remove this
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80460/new/
https://reviews.llvm.org/D80460
More information about the llvm-commits
mailing list