llvm/test
David Majnemer 543ae79447 [X86] Don't model UD2/UD2B as a terminator
A UD2 might make its way into the program via a call to @llvm.trap.
Obviously, calls are not terminators.  However, we modeled the X86
instruction, UD2, as a terminator.  Later on, this confuses the epilogue
insertion machinery which results in the epilogue getting inserted
before the UD2.  For some platforms, like x64, the result is a
violation of the ABI.

Instead, model UD2/UD2B as a side effecting instruction which may
observe memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278144 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-09 17:55:12 +00:00
..
Analysis [SCEV] Un-grep'ify tests; NFC 2016-08-05 20:33:49 +00:00
Assembler Invariant start/end intrinsics overloaded for address space 2016-07-22 17:49:40 +00:00
Bindings Add writeonly IR attribute 2016-07-04 08:01:29 +00:00
Bitcode Add writeonly IR attribute 2016-07-04 08:01:29 +00:00
BugPoint
CodeGen [X86] Don't model UD2/UD2B as a terminator 2016-08-09 17:55:12 +00:00
DebugInfo pdbdump: Add a test to verify the result of PDB -> YAML -> PDB conversions. 2016-08-03 23:54:39 +00:00
Examples
ExecutionEngine Revert r278065 while I investigate some build-bot breakage. 2016-08-08 22:57:30 +00:00
Feature GVN-hoist: enable by default 2016-08-08 14:46:15 +00:00
FileCheck Make check lines not match themselves. 2016-06-16 19:38:48 +00:00
Instrumentation Unpoison stack before resume instruction 2016-07-22 22:04:38 +00:00
Integer
JitListener
LibDriver
Linker IR: Drop uniquing when an MDNode Value operand is deleted 2016-08-03 18:19:43 +00:00
LTO Add a libLTO API to query a memory buffer and check if it contains ObjC categories 2016-07-11 23:10:18 +00:00
MC [X86] Improve code size on X86 segment moves 2016-08-08 18:01:04 +00:00
Object Add the first of what will be a long line of additional error checks for invalid Mach-O files. 2016-08-05 18:19:40 +00:00
ObjectYAML [Mach0YAML] Change n_type from uint8_t to llvm::yaml::Hex8 2016-08-04 21:07:39 +00:00
Other [PM] Change the name of the repeating utility to something less 2016-08-04 03:52:53 +00:00
SymbolRewriter [PM] Port SymbolRewriter to the new PM 2016-07-25 20:52:00 +00:00
TableGen tests: accept different TargetOpcode values. 2016-07-07 17:51:42 +00:00
ThinLTO/X86 ThinLTO: Do not take into account whether a definition has multiple copies when promoting. 2016-07-07 18:31:51 +00:00
tools Add the first of what will be a long line of additional error checks for invalid Mach-O files. 2016-08-05 18:19:40 +00:00
Transforms [AliasAnalysis] Treat invariant.start as read-memory 2016-08-09 17:18:05 +00:00
Unit
Verifier [coroutines] Part 4[ab]: Coroutine Devirtualization: Lower coro.resume and coro.destroy. 2016-08-04 20:30:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg [LIT][Darwin] Change %ld64 to be prefixed with DYLD_INSERT_LIBRARIES 2016-08-04 23:58:30 +00:00
lit.site.cfg.in
TestRunner.sh