[PATCH] Add NVPTXPeephole pass to reduce unnecessary address cast
Xuetian Weng
xweng at google.com
Fri Jun 19 13:31:05 PDT 2015
================
Comment at: lib/Target/NVPTX/NVPTXPeephole.cpp:89
@@ +88,3 @@
+ auto &BaseAddrOp = GenericAddrDef->getOperand(1);
+ if (BaseAddrOp.getType() == MachineOperand::MO_FrameIndex) {
+ return true;
----------------
jingyue wrote:
> wengxt wrote:
> > jingyue wrote:
> > > Could there be multiple frame indices? `fi#0`, `fi#1`, ...
> > Fixed
> Did you miss uploading something? I didn't see anything's changed.
Related change is in CombineCVTAToLocal
http://reviews.llvm.org/D10549
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list