llvm/lib
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 [AliasAnalysis] Treat invariant.start as read-memory 2016-08-09 17:18:05 +00:00
AsmParser LLLexer.cpp: Avoid using BitsToDouble() to preserve SNaN like "double 0x7FF4000000000000". 2016-08-05 11:59:49 +00:00
Bitcode [ThinLTO] Address review comments from PGO indirect call promotion (NFC) 2016-07-18 18:31:50 +00:00
CodeGen [DAGCombiner] Better support for shifting large value type by constants 2016-08-09 17:39:11 +00:00
DebugInfo CodeView: extract the OMF Directory Header 2016-08-09 00:25:12 +00:00
ExecutionEngine Revert r278065 while I investigate some build-bot breakage. 2016-08-08 22:57:30 +00:00
Fuzzer [libFuzzer] make libFuzzer work with a bit older clang versions 2016-08-06 21:28:56 +00:00
IR Consistently use ModuleAnalysisManager 2016-08-09 00:28:38 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO
MC Re-commit r277988: [mips][ias] Fix all the hacks related to MIPS-specific unary operators (%hi/%lo/%gp_rel/etc.). 2016-08-08 11:50:25 +00:00
Object CodeView: extract the OMF Directory Header 2016-08-09 00:25:12 +00:00
ObjectYAML
Option
Passes Consistently use CGSCCAnalysisManager 2016-08-09 00:28:56 +00:00
ProfileData [PGO] Make needsComdatForCounter() available (NFC) 2016-07-21 20:50:02 +00:00
Support Add unittests to {ARM | AArch64}TargetParser. 2016-07-28 06:11:18 +00:00
TableGen
Target [X86] Don't model UD2/UD2B as a terminator 2016-08-09 17:55:12 +00:00
Transforms [Profile] turn off verbose warnings by default 2016-08-09 15:35:28 +00:00
CMakeLists.txt
LLVMBuild.txt