llvm-project/llvm/test
Momchil Velikov a2531081b3 [AArch64] Predictably disassemble system registers with the same encoding
The registers TRCEXTINSELR and TRCEXTINSELR0 are distinct registers,
defined by separate extension specifications (ETM and ETE,
respectively), yet they use the same encoding in MSR/MRS.

When performing a system register lookup by encoding, we would
essentially return a random one, depending on the number, relative
position in the TableGen file, whether the TableGen records for system
registers are named or not, and, if they are named, depending on
record (not register!) name as well.

This patch works around the issue by explictly checking for the
TRCEXTINSELR/TRCEXTINSELR0 encoding and always returning TRCEXTINSELR.

Differential Revision: https://reviews.llvm.org/D74074
2020-02-07 12:19:57 +00:00
..
Analysis [ConstantFold][NFC] Move scalable vector unit tests under vscale.ll 2020-02-05 16:03:51 -08:00
Assembler Add a test extracted from D69557 "AsmParser: Allow FMF on varargs call" 2020-01-29 16:46:45 +00:00
Bindings Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Bitcode Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-02-05 19:27:32 -08:00
BugPoint
CodeGen Revert "Support -fstack-clash-protection for x86" 2020-02-07 11:36:53 +01:00
DebugInfo [DebugInfo]: Reorderd the emission of debug_str section. 2020-02-07 11:15:55 +05:30
Demangle
Examples
ExecutionEngine [ORC] Add support for emulated TLS to ORCv2. 2020-01-21 19:55:33 -08:00
Feature Revert "Activate extension loading test on Darwin now that the underlying fix has landed" 2020-02-05 11:04:38 -08:00
FileCheck Improve error message of FileCheck when stdin is empty 2020-02-04 11:14:55 +00:00
Instrumentation [Instrumentation] Set hidden visibility for the bias variable 2020-01-28 12:07:03 -08:00
Integer
JitListener
LTO [LTO] Add optimization remarks for removed functions 2020-01-29 15:53:51 -08:00
Linker
MC [AArch64] Predictably disassemble system registers with the same encoding 2020-02-07 12:19:57 +00:00
MachineVerifier Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Object [llvm-readobj][test] - Cleanup testing of the --sections command line option. 2020-01-31 12:58:12 +03:00
ObjectYAML [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
Other Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-02-05 19:27:32 -08:00
Reduce Revert "[llvm-reduce] add ReduceAttribute delta pass" 2020-02-05 14:15:11 -05:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen TableGen/GlobalISel: Handle non-leaf EXTRACT_SUBREG 2020-01-24 12:15:10 -08:00
ThinLTO/X86 [ThinLTO] Disable "Always import constants" due to compile time issues 2020-01-30 10:12:48 -08:00
Transforms [ValueTracking] usub(a, b) cannot overflow if a >= b. 2020-02-07 10:41:18 +00:00
Unit
Verifier Implement -fsemantic-interposition 2020-01-31 14:02:33 +01:00
YAMLParser
tools [llvm-readobj][test] Fix test after yaml2obj change (D74034) 2020-02-06 01:22:10 -08:00
.clang-format
CMakeLists.txt [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite 2020-02-06 15:33:18 -08:00
TestRunner.sh
lit.cfg.py [test] On Mac, don't try to use result of sysctl command if calling it failed. 2020-01-20 10:04:06 +00:00
lit.site.cfg.py.in