1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/unittests/CodeGen/GlobalISel
Konstantin Schwarz e455104bb4 [GlobalISel][KnownBits] Early return on out of bound shift amounts
If the known shift amount is bigger than or equal to the bitwidth of the type of the value to be shifted,
the result is target dependent, so don't try to infer any bits.

This fixes a crash we've seen in one of our internal test suites.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D89232
2020-10-12 18:39:19 +02:00
..
CMakeLists.txt Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
ConstantFoldingTest.cpp GlobalISel: Prepare to allow other target unit tests 2020-03-23 15:02:30 -04:00
CSETest.cpp [GlobalISel] Fix CSEMIRBuilder silently allowing use-before-def. 2020-10-05 11:00:00 -07:00
GISelMITest.cpp AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr 2020-03-23 15:02:30 -04:00
GISelMITest.h Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
GISelUtilsTest.cpp GlobalISel: Rewrite getLCMType 2020-07-20 21:06:30 -04:00
KnownBitsTest.cpp [GlobalISel][KnownBits] Early return on out of bound shift amounts 2020-10-12 18:39:19 +02:00
LegalizerHelperTest.cpp [GlobalISel] fix widenScalarUnmerge if widen type is not a multiple of destination type 2020-09-29 15:52:20 +02:00
LegalizerInfoTest.cpp Use pragmas to work around MSVC x86_32 debug miscompile bug 2020-09-10 14:50:01 -07:00
LegalizerTest.cpp [globalisel] Add lost debug locations verifier 2020-04-16 10:43:35 -07:00
MachineIRBuilderTest.cpp [GlobalISel] Add G_ABS 2020-08-11 16:34:37 +01:00
PatternMatchTest.cpp GlobalISel: Add matcher for G_SHL 2020-03-29 14:03:07 -04:00