[PATCH] D31609: [SystemZ] Fix bitcast of load translation to preserve alignment.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 06:41:50 PDT 2017
jonpa added a comment.
- return DAG.getLoad(ResVT, DL, LoadN->getChain(), LoadN->getBasePtr(),
- LoadN->getMemOperand());
+ if (LoadN->getExtensionType() == ISD::NON_EXTLOAD)
+ return DAG.getLoad(ResVT, DL, LoadN->getChain(), LoadN->getBasePtr(),
+ LoadN->getMemOperand());
sorry - this is with formatting
https://reviews.llvm.org/D31609
More information about the llvm-commits
mailing list