1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/include/llvm
Jeremy Morse 6df259fb43 [InstrRef][X86] Drop debug instruction numbers from x87 instructions
Avoid a crash when using instruction referencing if x87 floating point
instructions are used. These instructions are significantly mutated when
they're rewritten from referring to registers, to referring to
floating-point-stack positions. As a result, their operands are re-ordered,
and (InstrRef) LiveDebugValues asserts when it sees a DBG_INSTR_REF
referring to a non-reg non-def register operand.

To fix this, drop the instruction numbers, and thus variable locations.
This patch adds a helper utility do do that.

Dropping the variable locations is sub-optimal, but applying DBG_VALUEs to
the $fp0 and similar registers is dropped on emission too. It seems we've
never done well at describing variables that live in x87 registers, at all.

Differential Revision: https://reviews.llvm.org/D105657
2021-07-19 15:08:27 +01:00
..
ADT Revert "[llvm] Add enum iteration to Sequence" 2021-07-13 16:44:42 +00:00
Analysis [Analysis] Remove getLoopPackage (NFC) 2021-07-18 08:16:29 -07:00
AsmParser [IR] Add elementtype attribute 2021-07-15 18:04:26 +02:00
BinaryFormat [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x44 2021-07-15 06:46:27 +00:00
Bitcode [IR] Add elementtype attribute 2021-07-15 18:04:26 +02:00
Bitstream
CodeGen [InstrRef][X86] Drop debug instruction numbers from x87 instructions 2021-07-19 15:08:27 +01:00
Config
DebugInfo [DebugInfo] Remove unnecessary <string> include dependency from DebugInfo headers. NFC. 2021-07-17 16:56:06 +01:00
Demangle [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
DWARFLinker
ExecutionEngine [ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform. 2021-07-19 19:50:16 +10:00
FileCheck
Frontend [OpenMP] Detect SPMD compatible kernels and execute them as such 2021-07-10 18:44:25 -05:00
FuzzMutate
InterfaceStub
IR [IRBuilder] Deprecate CreateGEP() without element type 2021-07-17 22:57:51 +02:00
IRReader
LineEditor
Linker
LTO
MC [AIX] Emit version string in .file directive 2021-07-12 17:03:52 +00:00
MCA
Object [llvm-readobj][XCOFF] Add support for printing the String Table. 2021-07-05 04:16:58 +00:00
ObjectYAML
Option
Passes [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
ProfileData
Remarks
Support Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
TableGen
Target [NFC] Fix a few whitespace issues and typos. 2021-07-04 11:49:58 +01:00
Testing/Support added some example code for llvm::Expected<T> 2021-07-01 09:57:20 +00:00
TextAPI
ToolDrivers
Transforms Revert "[hwasan] Use stack safety analysis." 2021-07-19 12:08:32 +01:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h [RemoveRedundantDebugValues] Add a Pass that removes redundant DBG_VALUEs 2021-07-14 04:29:42 -07:00
LinkAllIR.h
LinkAllPasses.h
module.extern.modulemap
module.install.modulemap
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h