aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-08-25 16:00:12 -0700
committerCraig Topper <craig.topper@intel.com>2020-08-25 16:16:54 -0700
commitb8ec8f57764e37e7eebed436332b87b46084eb11 (patch)
tree0a97bf16358befce0755863b624c06df1f88398b /clang/lib/Lex/ModuleMap.cpp
parent49c371b319ee11f2fc7e47dfe73c0ef8136d0305 (diff)
downloadllvm-b8ec8f57764e37e7eebed436332b87b46084eb11.zip
llvm-b8ec8f57764e37e7eebed436332b87b46084eb11.tar.gz
llvm-b8ec8f57764e37e7eebed436332b87b46084eb11.tar.bz2
[X86] Remove extra getOperand(0) call from recently introduced store(extract_element(vtrunc)) to truncated store combine.
The IsExtractedElement already called getOperand(0) so Extract here is the source vector. We shouldn't call getOperand(0). This worked for the original test cases because the result was a bitcast so the getOperand(0) accidently peeked through the bitcast which is what we wanted. In the failing case here, the operand turns out to be undef so the getOperand(0) asserts because undef has no operands. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25184 Differential Revision: https://reviews.llvm.org/D86428
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions