1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib
Dávid Bolvanský 112f5ef17b [InstCombine] Transform (A + B) - (A & B) to A | B (PR48604)
define i32 @src(i32 %x, i32 %y) {
%0:
  %a = add i32 %x, %y
  %o = and i32 %x, %y
  %r = sub i32 %a, %o
  ret i32 %r
}
=>
define i32 @tgt(i32 %x, i32 %y) {
%0:
  %b = or i32 %x, %y
  ret i32 %b
}
Transformation seems to be correct!

https://alive2.llvm.org/ce/z/2fhW6r
2020-12-31 15:04:32 +01:00
..
Analysis [Analysis] Remove unused code recursivelySimplifyInstruction (NFC) 2020-12-30 17:45:40 -08:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat
Bitcode [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
Bitstream
CodeGen [LowerEmuTls] Copy dso_local from <var> to __emutls_v.<var> 2020-12-30 16:11:32 -08:00
DebugInfo
Demangle
DWARFLinker
ExecutionEngine [ORC] Move Orc RPC code into Shared, rename some RPC types. 2020-12-30 12:48:20 +11:00
Extensions
FileCheck [FileCheck] Add a literal check directive modifier 2020-12-18 17:26:15 -08:00
Frontend
Fuzzer
FuzzMutate
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [IR] remove 'NoNan' param when creating FP reductions 2020-12-30 09:51:23 -05:00
IRReader
LineEditor
Linker [ExecutionEngine, Linker] Use erase_if (NFC) 2020-12-23 21:44:39 -08:00
LTO
MC [MC] Split MCContext::createTempSymbol, default AlwaysAddSuffix to true, and add comments 2020-12-21 14:04:13 -08:00
MCA
Object Replace T(x) with reinterpret_cast<T>(x) everywhere it means reinterpret_cast. NFC. 2020-12-22 19:54:29 -05:00
ObjectYAML [libObject] - Add more ELF types to LLVM_ELF_IMPORT_TYPES_ELFT define (ELFTypes.h). 2020-12-25 11:39:05 +03:00
Option
Passes [NewPM] Port infer-address-spaces 2020-12-28 19:58:12 -08:00
ProfileData
Remarks
Support [NFC] Refactor some SourceMgr code 2020-12-26 17:53:32 +00:00
TableGen [TableGen] Fix bug in !interleave operator 2020-12-28 12:17:24 -05:00
Target Support tilezero intrinsic and c interface for AMX. 2020-12-31 13:24:57 +08:00
Testing
TextAPI
ToolDrivers
Transforms [InstCombine] Transform (A + B) - (A & B) to A | B (PR48604) 2020-12-31 15:04:32 +01:00
WindowsManifest
XRay
CMakeLists.txt