[PATCH] D55814: GlobalISel: Support narrowing zextload/sextload
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 7 13:18:30 PST 2019
aemerson added inline comments.
================
Comment at: lib/CodeGen/GlobalISel/LegalizerHelper.cpp:526
+ auto &MMO = **MI.memoperands_begin();
+ if (MMO.getSize() * 8 == NarrowSize) {
+ MIRBuilder.buildLoad(TmpReg, PtrReg, MMO);
----------------
Is this really needed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55814/new/
https://reviews.llvm.org/D55814
More information about the llvm-commits
mailing list