llvm-project/llvm/lib
Nick Desaulniers 4edb9983cb [SelectionDAG] treat X constrained labels as i for asm
Completely rework how we handle X constrained labels for inline asm.

X should really be treated as i. Then existing tests can be moved to use
i D115410 and clang can just emit i D115311. (D115410 and D115311 are
callbr, but this can be done for label inputs, too).

Coincidentally, this simplification solves an ICE uncovered by D87279
based on assumptions made during D69868.

This is the third approach considered. See also discussions v1 (D114895)
and v2 (D115409).

Reported-by: kernel test robot <lkp@intel.com>
Fixes: https://github.com/ClangBuiltLinux/linux/issues/1512

Reviewed By: void, jyknight

Differential Revision: https://reviews.llvm.org/D115688
2022-01-11 10:29:40 -08:00
..
Analysis [NFC][LazyCallGraph] Remove check in removeDeadFunction() if graph is empty 2022-01-11 10:17:13 -08:00
AsmParser Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
BinaryFormat Use llvm::any_of and llvm::all_of (NFC) 2021-12-11 11:54:37 -08:00
Bitcode Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
Bitstream
CodeGen [SelectionDAG] treat X constrained labels as i for asm 2022-01-11 10:29:40 -08:00
DWARFLinker [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
DWP
DebugInfo [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Debuginfod [llvm] Use nullptr instead of 0 (NFC) 2021-12-28 08:52:25 -08:00
Demangle [Demangle] Add support for D function-local parent symbols 2021-12-07 01:46:13 +00:00
ExecutionEngine [ORC][JITLink] Add dependence on OrcShared to JITLink. 2022-01-10 19:25:46 +11:00
Extensions
FileCheck [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Frontend [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
FuzzMutate
Fuzzer
IR [IR] Change vector.splice intrinsic to reject out-of-bounds indices 2022-01-11 09:37:39 +00:00
IRReader
InterfaceStub [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
LTO [LTO][codegen] Add TargetLibraryInfoWrapperPass initially 2022-01-06 09:24:35 +08:00
LineEditor [llvm] Use range-based for loops (NFC) 2021-12-09 09:37:29 -08:00
Linker [NFC] Replace some deprecated getAlignment() calls with getAlign() 2021-12-09 08:43:19 -08:00
MC [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
MCA [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Object [dwarf][NFC] Move expandBundle() to MachO.h 2021-12-15 19:08:56 -08:00
ObjectYAML [yaml2obj][XCOFF] parsing auxiliary symbols. 2022-01-10 02:38:49 +00:00
Option [llvm] Use range-based for loops (NFC) 2021-12-09 09:37:29 -08:00
Passes Revert "[LoopFlatten] Move it to a LoopPassManager" 2022-01-10 11:03:49 +00:00
ProfileData [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Remarks [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Support Revert "[Clang][AArch64][ARM] PMUv3.4 Option Added" 2022-01-11 12:33:53 +00:00
TableGen [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Target [ShrinkWrap] check for PPC's non-callee-saved LR 2022-01-11 10:01:34 -08:00
Testing
TextAPI
ToolDrivers [Type] Avoid APFloat.h include (NFC) 2021-10-09 11:29:26 +02:00
Transforms [DSE] Style improvements after 3cef3cf - remove redundant dyn_casts [NFC] 2022-01-11 08:39:18 -08:00
WindowsManifest [llvm] Use nullptr instead of 0 (NFC) 2021-12-28 08:52:25 -08:00
XRay Support: Use Expected<T>::moveInto() in a few places 2021-10-22 12:40:10 -07:00
CMakeLists.txt [llvm] [Debuginfo] Debuginfod client library. 2021-12-06 21:52:38 +00:00