llvm-project/llvm/test/CodeGen
Sanjay Patel 63daea8b35 [SDAG] fix bug in ComputeNumSignBits of target constant
The loop below the changed line assumes that the element
width of the target constant is the same as the element
width of the loaded value, but that is not always true.

We could try harder to do some kind of min/max calc even
if the sizes don't match, but that can be another patch
if needed. This fixes #53401 (miscompile) and does not
change the motivating cases added when this analysis
was introduced:
ad298f86b7
2022-01-26 10:22:41 -05:00
..
AArch64 [AArch64] Add NEON test cases for ISD::ABDS/U. 2022-01-26 13:05:57 +00:00
AMDGPU [AMDGPUHSAMetadataStreamer] Do not assume ABI alignment for pointers 2022-01-26 15:45:14 +01:00
ARC
ARM [DAG] Create fptoui.sat from clamped fptoui 2022-01-26 08:37:44 +00:00
AVR [AVR] Make use of the constant value 0 in R1 2022-01-23 17:08:01 +01:00
BPF [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
CSKY [CSKY] Add codegen support of GlobalTLSAddress lowering 2022-01-21 14:39:55 +08:00
Generic [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
Hexagon [XRay][test] Clean up llc RUN lines 2022-01-21 17:00:03 -08:00
Inputs
Lanai
M68k
MIR
MLRegalloc [MLGO] Improved support for AOT cross-targeting scenarios 2022-01-20 07:05:39 -08:00
MSP430 [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
Mips [XRay][test] Clean up llc RUN lines 2022-01-21 17:00:03 -08:00
NVPTX [NVPTX] NFC: Remove unused arguments and attribute from test 2022-01-26 15:57:27 +01:00
PowerPC [PowerPC] Fix eq/ne comparison of v2i64 pre-Power8 2022-01-26 08:59:08 -06:00
RISCV [DAG] Create fptoui.sat from clamped fptoui 2022-01-26 08:37:44 +00:00
SPARC [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
SystemZ [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
Thumb
Thumb2 [DAG] Create fptoui.sat from clamped fptoui 2022-01-26 08:37:44 +00:00
VE [VE] Packed 32/64bit broadcast isel and tests 2022-01-26 14:16:06 +01:00
WebAssembly [DAG] Create fptoui.sat from clamped fptoui 2022-01-26 08:37:44 +00:00
WinCFGuard
WinEH
X86 [SDAG] fix bug in ComputeNumSignBits of target constant 2022-01-26 10:22:41 -05:00
XCore [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00