aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-11-14 01:30:14 +0000
committerTim Northover <tnorthover@apple.com>2014-11-14 01:30:14 +0000
commitd3be12a6c7e89955d6f528a7ba3d1966309b7853 (patch)
tree6ac05258c194078fa7f7872280df2ea9e37476ee /clang/lib/Frontend/CompilerInvocation.cpp
parentf17e740157d17effc513037fd4f86c02deb913f7 (diff)
downloadllvm-d3be12a6c7e89955d6f528a7ba3d1966309b7853.zip
llvm-d3be12a6c7e89955d6f528a7ba3d1966309b7853.tar.gz
llvm-d3be12a6c7e89955d6f528a7ba3d1966309b7853.tar.bz2
X86: use getConstant rather than getTargetConstant behind BUILD_VECTOR.
getTargetConstant should only be used when you can guarantee the instruction selected will be able to cope with the raw value. BUILD_VECTOR is rather too generic for this so we should use getConstant instead. In that case, an instruction can still consume the constant, but if it doesn't it'll be materialised through its own round of ISel. Should fix PR21352. llvm-svn: 221961
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions