llvm-project/llvm/lib
Roman Lebedev 59387c0dd7
[InstCombine] (-NSW x) s<= x --> x s>= 0 (PR39480)
Name: (-x) s<= x  -->  x >= 0
%neg_x = sub nsw i8 0, %x ; %x must not be INT_MIN
%r = icmp sle i8 %neg_x, %x
  =>
%r = icmp sge i8 %x, 0

https://rise4fun.com/Alive/91k

https://bugs.llvm.org/show_bug.cgi?id=39480
2020-08-06 11:50:35 +03:00
..
Analysis [InstSimplify] fold icmp with mul nsw and constant operands 2020-08-05 14:38:39 -04:00
AsmParser [ThinLTO] parse flags and blockcount summaries 2020-07-20 09:50:22 -07:00
BinaryFormat AMDGPU: Remove .value_type from kernel metadata 2020-07-10 18:16:31 -04:00
Bitcode [NFC] Move BitcodeCommon.h from Bitstream to Bitcode 2020-07-27 20:49:17 +00:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen [Propeller]: Use a descriptive temporary symbol name for the end of the basic block. 2020-08-05 13:17:19 -07:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
DebugInfo Add verification for DW_AT_decl_file and DW_AT_call_file. 2020-08-05 15:30:13 -07:00
Demangle [NFC] Use std::free instead of ::free 2020-07-20 16:19:08 -04:00
ExecutionEngine [JITLink][MachO][AArch64] More PAGEOFF12 relocation fixes. 2020-08-05 21:09:45 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [OpenMP][IRBuilder] Support allocas in nested parallel regions 2020-07-30 10:19:39 -05:00
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
Fuzzer
IR [NFC][APInt][DenseMapInfo] Move DenseMapAPIntKeyInfo into DenseMap.h as DenseMapInfo<APInt> 2020-08-03 23:31:13 +09:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LTO [NewPM] Support optnone under new pass manager 2020-07-21 09:53:43 -07:00
LineEditor
Linker Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
MC [MC] Fix memory leak when allocating MCInst with bump allocator 2020-08-03 16:08:26 -07:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object [llvm-readobj] - Make decode_relrs() don't return Expected<>. NFCI. 2020-08-05 17:05:47 +03:00
ObjectYAML [DWARFYAML][debug_info] Pull out dwarf::FormParams from DWARFYAML::Unit. 2020-08-06 16:39:00 +08:00
Option [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable 2020-08-04 08:53:15 -07:00
Passes [NewPM][LoopRotate] Rename rotate -> loop-rotate 2020-08-05 12:25:01 -07:00
ProfileData [llvm-cov] reset executation count to 0 after wrapped segment 2020-08-04 18:38:44 -07:00
Remarks YAMLRemarkParser.cpp - remove duplicate RemarkParser.h include. NFC. 2020-06-08 13:59:05 +01:00
Support [X86] Rename X86::getImpliedFeatures to X86::updateImpliedFeatures and pass clang's StringMap directly to it. 2020-08-06 00:20:46 -07:00
TableGen [TableGen][CGS] Print better errors on overlapping InstRW 2020-07-27 09:41:10 -06:00
Target [AArch64] [Windows] Error out on unsupported symbol locations 2020-08-06 09:23:46 +03:00
Testing Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest 2020-07-27 08:37:01 -07:00
TextAPI [TextAPI/MachO] Fix style issues. NFC 2020-06-24 14:43:45 -07:00
ToolDrivers [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
Transforms [InstCombine] (-NSW x) s<= x --> x s>= 0 (PR39480) 2020-08-06 11:50:35 +03:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00