llvm-project/llvm/lib/Transforms
Philip Reames b091cc081d [InstCombine] Fix a nasty miscompile introduced w/masked.gather demanded elts
This fixes a miscompile which was introduced in r356510 (https://reviews.llvm.org/D57372).

The problem is that the original patch removed pointer operands where the load results we're demanded, but without considering the legality of the load itself.  If the masked.gather had active, but undemanded, lanes, then we could end up creating a load which loaded from an undef address.  The result could be a segfault, or, in theory, an arbitrary read from a random memory location into an used register.  

llvm-svn: 358299
2019-04-12 18:26:56 +00:00
..
AggressiveInstCombine Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Coroutines [coroutines][PR40979] Ignore unreachable uses across suspend points 2019-03-11 18:31:28 +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 Change some dyn_cast to more apropriate isa. NFC 2019-04-05 16:16:23 +00:00
InstCombine [InstCombine] Fix a nasty miscompile introduced w/masked.gather demanded elts 2019-04-12 18:26:56 +00:00
Instrumentation [PGO] Better handling of profile hash mismatch 2019-04-11 20:54:17 +00:00
ObjCARC [ObjC][ARC] Convert the retainRV marker that is passed as a named 2019-04-10 06:20:20 +00:00
Scalar [CVP] Set NSW/NUW flags when simplifying with.overflow 2019-04-12 18:18:17 +00:00
Utils Use llvm::lower_bound. NFC 2019-04-12 02:02:06 +00:00
Vectorize [VPLAN] Minor improvement to testing and debug messages. 2019-04-10 08:17:28 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00