llvm-project/llvm/lib/Transforms
Roman Lebedev c3b394ffba [InstCombine] dropRedundantMaskingOfLeftShiftInput(): propagate undef shift amounts
Summary:
When we do `ConstantExpr::getZExt()`, that "extends" `undef` to `0`,
which means that for patterns a/b we'd assume that we must not produce
any bits for that channel, while in reality we simply didn't care
about that channel - i.e. we don't need to mask it.

Reviewers: spatel

Reviewed By: spatel

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68239

llvm-svn: 373960
2019-10-07 20:52:52 +00:00
..
AggressiveInstCombine [PatternMatch] Make m_Br more flexible, add matchers for BB values. 2019-09-25 15:05:08 +00:00
Coroutines [Alignment][NFC] Remove AllocaInst::setAlignment(unsigned) 2019-09-30 13:34:44 +00:00
Hello Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IPO Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
InstCombine [InstCombine] dropRedundantMaskingOfLeftShiftInput(): propagate undef shift amounts 2019-10-07 20:52:52 +00:00
Instrumentation [PGO] Refactor Value Profiling into a plugin based oracle and create a well defined API for the plugins. 2019-10-03 14:20:50 +00:00
ObjCARC [ObjC][ARC] Skip debug instructions when computing the insert point of 2019-09-19 20:58:51 +00:00
Scalar Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
Utils Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
Vectorize Revert "[SLP] avoid reduction transform on patterns that the backend can load-combine" 2019-10-07 08:21:37 +00:00
CMakeLists.txt
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00