aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-01-09 18:14:18 +0000
committerCraig Topper <craig.topper@intel.com>2018-01-09 18:14:18 +0000
commit243f20f1171e6730aa5b57ad28b10b50244dc2c9 (patch)
tree4092744e3ebd8d5d2a915b40d52e63e88c561e8d /llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h
parent3e826f4f1b078f333af6e9bd3d3388bea87b1ebf (diff)
downloadllvm-243f20f1171e6730aa5b57ad28b10b50244dc2c9.zip
llvm-243f20f1171e6730aa5b57ad28b10b50244dc2c9.tar.gz
llvm-243f20f1171e6730aa5b57ad28b10b50244dc2c9.tar.bz2
[lli] Make lli support -mcpu=native for CPU autodetection
llc, opt, and clang can all autodetect the CPU and supported features. lli cannot as far as I could tell. This patch uses the getCPUStr() and introduces a new getCPUFeatureList() and uses those in lli in place of MCPU and MAttrs. Ideally, we would merge getCPUFeatureList and getCPUFeatureStr, but opt and llc need a string and lli wanted a list. Maybe we should just return the SubtargetFeature object and let the caller decide what it needs? Differential Revision: https://reviews.llvm.org/D41833 llvm-svn: 322100
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h')
0 files changed, 0 insertions, 0 deletions