summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-08-07 10:37:35 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-08-07 10:37:35 +0000
commit4e8fcbd3fd6f64d43dbebc6fa6b29dfa4143eddf (patch)
tree3513e6b06665d631fdfa2f5ca11941d81b451a57 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parente206385e99c4ca9a70c8da297ff7643e2cfe06d2 (diff)
downloadbcm5719-llvm-4e8fcbd3fd6f64d43dbebc6fa6b29dfa4143eddf.tar.gz
bcm5719-llvm-4e8fcbd3fd6f64d43dbebc6fa6b29dfa4143eddf.zip
[x86] Fix another miscompile found through fuzz testing the new vector
shuffle lowering. This is closely related to the previous one. Here we failed to use the source offset when swapping in the other case -- where we end up swapping the *final* shuffle. The cause of this bug is a bit different: I simply wasn't thinking about the fact that this mask is actually a slice of a wide mask and thus has numbers that need SourceOffset applied. Simple fix. Would be even more simple with an algorithm-y thing to use here, but correctness first. =] llvm-svn: 215095
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud