[PATCH] D116877: [GlobalISel] Fix a big-endian-related bug in CallLowering
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 10 11:33:06 PST 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CallLowering.cpp:680
// There should be Regs.size() ArgLocs per argument.
- VA = ArgLocs[j + Part];
+ unsigned Idx = TLI->hasBigEndianPartOrdering(OrigVT, DL)
+ ? NumParts - 1 - Part
----------------
Can hoist the TLI query out of the loop
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116877/new/
https://reviews.llvm.org/D116877
More information about the llvm-commits
mailing list