aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/OptimizedStructLayout.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-07-23 08:52:06 -0700
committerCraig Topper <craig.topper@intel.com>2020-07-23 09:16:18 -0700
commit5dbcf5e3ccafb90d07b749e437c8e9089eda8516 (patch)
tree4424309c464bb969cc47a4b7488218cb70f92d87 /llvm/lib/Support/OptimizedStructLayout.cpp
parent83dca19c11236700d26ebd1ecff65e01876c1e9d (diff)
downloadllvm-5dbcf5e3ccafb90d07b749e437c8e9089eda8516.zip
llvm-5dbcf5e3ccafb90d07b749e437c8e9089eda8516.tar.gz
llvm-5dbcf5e3ccafb90d07b749e437c8e9089eda8516.tar.bz2
[X86] Add Feature64Bit to the 'generic' CPU and remove feature string hacking in X86Subtarget constructor
Feature64Bit is only used by a check in the X86Subtarget constructor to ensure that the CPU selected supports 64-bit mode when the triple is for 64-bit mode. 'generic' is the default CPU in llc and so needs to be able to pass this check. Previously we did this by detecting the name and adding the feature to the feature string. But there doesn't seem to be any reason we can't just add the feature to the CPU directly.
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions