[PATCH] D98053: [mac/lld] Fix scale computation for vector ops in PAGEOFF12 relocations
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 5 09:21:37 PST 2021
int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.
Nice fix!
================
Comment at: lld/MachO/Arch/ARM64.cpp:132
+ int scale = 0;
+ if ((base & 0x3b00'0000) == 0x3900'0000) { // load/store
+ scale = base >> 30;
----------------
TIL that C++ has digit separators
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98053/new/
https://reviews.llvm.org/D98053
More information about the llvm-commits
mailing list