llvm-project/llvm/test
Craig Topper 6a6cf2e28d [RISCV] isel (add (and X, 0x1FFFFFFFE), Y) as (SH1ADD (SRLI X, 1), Y)
This pattern is what we get after DAG combine for C code like this.

short *ptr1, *ptr2, *ptr3;
unsigned diff = ptr1 - ptr2;
return ptr3[diff];

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D126588
2022-05-29 18:24:07 -07:00
..
Analysis [ValueTracking] Added support to deduce PHI Nodes values being a power of 2 2022-05-26 20:30:31 +00:00
Assembler Allow pointer types for atomicrmw xchg 2022-05-25 16:20:26 +00:00
Bindings [llvm-c] Add functions for enabling and creating opaque pointers 2022-05-16 10:53:46 +02:00
Bitcode Allow pointer types for atomicrmw xchg 2022-05-25 16:20:26 +00:00
BugPoint
CodeGen [RISCV] isel (add (and X, 0x1FFFFFFFE), Y) as (SH1ADD (SRLI X, 1), Y) 2022-05-29 18:24:07 -07:00
DebugInfo [FileCheck] Catch missspelled directives. 2022-05-26 11:37:19 +01:00
Demangle
Examples
ExecutionEngine [RISCV] Make old JIT ExecutionEngine tests unsupported 2022-05-24 03:01:00 +02:00
Feature
FileCheck [FileCheck] Catch missspelled directives. 2022-05-26 11:37:19 +01:00
Instrumentation Handle instrumentation of scalar single-precision (_ss) intrinsics 2022-05-19 13:56:51 -07:00
Integer
JitListener
LTO
Linker
MC [AMDGPU][GFX9] Support base+soffset+offset SMEM loads. 2022-05-26 12:42:33 +01:00
MachineVerifier [GlobalISel] Add G_IS_FPCLASS 2022-05-27 13:49:47 +07:00
Object [AIX] support write operation of big archive. 2022-05-13 10:40:15 -04:00
ObjectYAML
Other Add new hidden option -print-on-crash that prints out IR that caused opt pipeline to crash 2022-05-23 15:38:38 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
ThinLTO/X86
Transforms Recommit "[LICM] Only create load in ph when promoting load or store doesn't exec." 2022-05-29 21:57:14 +01:00
Unit [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
Verifier
YAMLParser
tools [X86] Adjust vector shift costs to match SoG (Issue #54889) 2022-05-29 17:55:39 +01:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
lit.site.cfg.py.in