aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-20 22:57:48 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-20 22:57:48 +0000
commitaa52ee277078656602a2871053ff9bf8bae9ba6e (patch)
tree07fd504bf40ca08fef2dd63e5068adb6205077d2 /clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
parent289f1ce53e52e27454a02670673ee1d53ff06f86 (diff)
downloadllvm-aa52ee277078656602a2871053ff9bf8bae9ba6e.zip
llvm-aa52ee277078656602a2871053ff9bf8bae9ba6e.tar.gz
llvm-aa52ee277078656602a2871053ff9bf8bae9ba6e.tar.bz2
[X86] Emit a PACKUS instead of a VECTOR_SHUFFLE from LowerTRUNCATE for v16i16->v16i8.
We can't guarantee that demanded bits passing through the vector shuffle won't cause the AND in front of this to be removed. This would prevent the PACKUS from being matched during shuffle lowering. Unfortunately, this adds a packuswb to one of the vector-reduce-mul.ll tests since we were removing the shuffle via SimplifyDemandedVectorElts. We appear to have similar issues with vpmovwb on the same test case on other targets. llvm-svn: 347361
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp')
0 files changed, 0 insertions, 0 deletions