llvm-project/llvm/lib
Aditya Nandakumar 6b4d343e13 [GISel]: Add missing opcodes for overflow intrinsics
https://reviews.llvm.org/D51197

Currently, IRTranslator (and GISel) seems to be arbitrarily picking
which overflow intrinsics get mapped into opcodes which either have a
carry as an input or not.
For intrinsics such as Intrinsic::uadd_with_overflow, translate it to an
opcode (G_UADDO) which doesn't have any carry inputs (similar to LLVM
IR).

This patch adds 4 missing opcodes for completeness - G_UADDO, G_USUBO,
G_SSUBE and G_SADDE.

llvm-svn: 340865
2018-08-28 18:54:10 +00:00
..
Analysis Fix in getAllocationDataForFunction 2018-08-28 08:59:06 +00:00
AsmParser [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
BinaryFormat Fix undefined behavior in r340457 2018-08-23 02:51:09 +00:00
Bitcode [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
CodeGen [GISel]: Add missing opcodes for overflow intrinsics 2018-08-28 18:54:10 +00:00
DebugInfo [DWARF] Unify warning callbacks. NFC. 2018-08-23 12:43:33 +00:00
Demangle Fix this file to have the necessary standard library includes and use 2018-08-27 06:52:14 +00:00
ExecutionEngine [ORC] Do not include non-global symbols in getObjectSymbolFlags. 2018-08-26 16:46:02 +00:00
FuzzMutate [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
Fuzzer
IR [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
IRReader
LTO Remove trailing space 2018-07-30 19:41:25 +00:00
LineEditor
Linker [NFC] Remove an empty line. 2018-07-27 06:50:45 +00:00
MC [debuginfo] generate debug info with asm+.file 2018-08-28 16:23:39 +00:00
Object [COFF] Expose an easier helper function for getting names for relocation types 2018-08-27 08:42:39 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option Re-revert "[Option] Fix PR37006 prefix choice in findNearest" 2018-05-19 16:21:01 +00:00
Passes Revert "[GVNHoist] Re-enable GVNHoist by default" 2018-07-30 20:07:33 +00:00
ProfileData [Coverage] Ignore 'unused' functions with non-zero execution counts 2018-08-07 22:25:36 +00:00
Support Use a lambda for calls to ::open in RetryAfterSignal 2018-08-27 15:55:39 +00:00
TableGen Remove trailing space 2018-07-30 19:41:25 +00:00
Target [WebAssembly][NFC] Document stackifier tablegen backend 2018-08-28 18:49:47 +00:00
Testing [LLVMTestingSupport] Add explicit linkage to LLVMSupport 2018-04-08 06:49:17 +00:00
ToolDrivers Give llvm-lib rudimentary help output. 2018-07-14 02:29:44 +00:00
Transforms [libFuzzer] Port to Windows 2018-08-28 18:34:32 +00:00
WindowsManifest Convert line endings of lib/WindowsManifest/CMakeLists.txt to unix. 2018-04-07 04:28:08 +00:00
XRay [XRay] Refactor loadTraceFile(...) into two (NFC) 2018-08-24 10:30:37 +00:00
CMakeLists.txt
LLVMBuild.txt