aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2020-06-05 19:54:58 -0700
committerSaleem Abdulrasool <compnerd@compnerd.org>2020-06-08 11:04:19 -0700
commitfcdf7578aa697526e5eee05fb0e5390c4ef02eb9 (patch)
tree86aaec80e6175e9aeb6c63a00aaa344815c41999 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent22c2dc5931a73eebf2a2e2b2d7a8cf757907dc3e (diff)
downloadllvm-fcdf7578aa697526e5eee05fb0e5390c4ef02eb9.zip
llvm-fcdf7578aa697526e5eee05fb0e5390c4ef02eb9.tar.gz
llvm-fcdf7578aa697526e5eee05fb0e5390c4ef02eb9.tar.bz2
lld: improve the `-arch` handling for MachO
Use the default target triple configured by the user to determine the default architecture for `ld64.lld`. Stash the architecture in the configuration as when linking against TBDs, we will need to filter out the symbols based upon the architecture. Treat the Haswell slice as it is equivalent to `x86_64` but with the extra Haswell extensions (e.g. AVX2, FMA3, BMI1, etc). This will make it easier to add new architectures in the future. This change also changes the failure mode where an invalid `-arch` parameter will result in the linker exiting without further processing.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions