llvm-project/llvm/unittests/CodeGen
Konstantin Schwarz 7341123439 [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
..
GlobalISel [GlobalISel][KnownBits] Early return on out of bound shift amounts 2020-10-12 18:39:19 +02:00
AArch64SelectionDAGTest.cpp SelectionDAG.h - remove unnecessary FunctionLoweringInfo.h include. NFCI. 2020-09-03 18:33:25 +01:00
AllocationOrderTest.cpp [NFC][regalloc] Separate iteration from AllocationOrder 2020-10-05 16:13:18 -07:00
AsmPrinterDwarfTest.cpp [DebugInfo] Add new emitting methods for values which depend on the DWARF format (3/19). 2020-09-15 11:30:10 +07:00
CMakeLists.txt [NFC][regalloc] Unit test for AllocationOrder iteration. 2020-09-29 10:48:07 -07:00
DIEHashTest.cpp [DebugInfo] Simplify DIEInteger::SizeOf(). 2020-09-17 12:47:38 +07:00
DIETest.cpp [DebugInfo] Use a common method to determine a suitable form for section offsts (6/19). 2020-09-15 11:30:38 +07:00
LexicalScopesTest.cpp [DebugInfo] Re-implement LexicalScopes dominance method, add unit tests 2020-02-28 11:41:28 +00:00
LowLevelTypeTest.cpp Revert "GlobalISel: Make LLT constructors constexpr" 2020-06-17 15:31:12 +02:00
MFCommon.inc [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp unittest: Disable MachineInstrClone.CopyCallSiteInfo entirely 2020-04-08 12:16:22 -07:00
MachineOperandTest.cpp Revert "Revert "[MIR] Target specific MIR formating and parsing"" 2020-01-08 20:03:29 -08:00
PassManagerTest.cpp Reland "Revert "[NewPM][CodeGen] Introduce machine pass and machine pass manager"" 2020-08-07 16:40:49 -07:00
ScalableVectorMVTsTest.cpp [SVE][CodeGen] Add new EVT/MVT getFixedSizeInBits() functions 2020-10-02 07:47:31 +01:00
TargetOptionsTest.cpp [unittests] Add InitializePasses.h includes 2019-11-13 19:42:58 -08:00
TestAsmPrinter.cpp [DebugInfo] Fix methods of AsmPrinter to emit values corresponding to the DWARF format (1/19). 2020-09-15 11:29:48 +07:00
TestAsmPrinter.h [DebugInfo] Fix methods of AsmPrinter to emit values corresponding to the DWARF format (1/19). 2020-09-15 11:29:48 +07:00
TypeTraitsTest.cpp Update files that were mistakenly added with the old file header. 2019-02-11 08:07:32 +00:00