llvm-project/llvm/test
Roman Lebedev ebed96fdbf
[InstCombine] Negator: `extractelement` is negatible if src is negatible
----------------------------------------
define i4 @negate_extractelement(<2 x i4> %x, i32 %y, i4 %z) {
%0:
  %t0 = sub <2 x i4> { 0, 0 }, %x
  call void @use_v2i4(<2 x i4> %t0)
  %t1 = extractelement <2 x i4> %t0, i32 %y
  %t2 = sub i4 %z, %t1
  ret i4 %t2
}
=>
define i4 @negate_extractelement(<2 x i4> %x, i32 %y, i4 %z) {
%0:
  %t0 = sub <2 x i4> { 0, 0 }, %x
  call void @use_v2i4(<2 x i4> %t0)
  %t1.neg = extractelement <2 x i4> %x, i32 %y
  %t2 = add i4 %t1.neg, %z
  ret i4 %t2
}
Transformation seems to be correct!
2020-05-20 21:44:31 +03:00
..
Analysis [LVI] Don't require DominatorTree in LVI (NFC) 2020-05-19 20:21:46 +02:00
Assembler AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
Bindings
Bitcode StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
BugPoint
CodeGen [llvm] [CodeGen] [X86] Fix issues with v4i1 instruction selection 2020-05-20 11:34:56 -07:00
DebugInfo [DebugInfo] Add a test for dumping DWARF64 CIEs and FDEs (8/8). 2020-05-19 13:36:07 +07:00
Demangle
Examples
ExecutionEngine
Feature StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
FileCheck [test] Improve FileCheck's numeric-expression.txt 2020-05-16 00:09:24 +01:00
Instrumentation StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
Integer
JitListener
LTO Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
Linker
MC [Hexagon] pX.new cannot be used with p3:0 as producer 2020-05-19 17:06:34 -05:00
MachineVerifier
Object [yaml2obj] - Stop using square brackets for unique suffixes. 2020-05-19 12:59:13 +03:00
ObjectYAML [ObjectYAML][MachO] Add support for relocations 2020-04-22 11:50:55 -07:00
Other [llvm] Add interface to drive inlining decision using ML model 2020-05-13 13:27:29 -07:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Fix register class handling in TableGen's DAG ISel Matcher Generator 2020-05-13 10:17:03 +01:00
ThinLTO/X86 [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
Transforms [InstCombine] Negator: `extractelement` is negatible if src is negatible 2020-05-20 21:44:31 +03:00
Unit
Verifier Add verifier check that musttail and preallocated are not used together 2020-05-18 11:24:59 -07:00
YAMLParser
tools [yaml2obj] - Implement the "Offset" property for the Fill Chunk. 2020-05-20 13:38:48 +03:00
.clang-format
CMakeLists.txt [examples] Skip building the Bye pass plugin on windows 2020-05-13 13:40:56 +03:00
TestRunner.sh
lit.cfg.py llvm-addr2line: assume addresses on the command line are hexadecimal rather than attempting to guess the base based on the form of the number. 2020-04-16 16:16:21 -07:00
lit.site.cfg.py.in Revert "Temporarily revert "build: use `find_package(Python3)` if available"" 2020-04-29 01:38:08 +00:00