diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-08-02 10:38:25 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-08-02 10:38:25 +0000 |
commit | 207e3af5018ea97f69007ecc70687ce07990617d (patch) | |
tree | 8cdd2cb7094195fb616cfcb7c8a9eef7cc55e8f4 /llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp | |
parent | 4b7239ebaca72f2cd92682019fbe0bef5b46cd4e (diff) | |
download | llvm-207e3af5018ea97f69007ecc70687ce07990617d.zip llvm-207e3af5018ea97f69007ecc70687ce07990617d.tar.gz llvm-207e3af5018ea97f69007ecc70687ce07990617d.tar.bz2 |
[MCA] Add support for printing immedate values as hex. Also enable lexing of masm binary and hex literals.
This patch adds a new llvm-mca flag named -print-imm-hex.
By default, the instruction printer prints immediate operands as decimals. Flag
-print-imm-hex enables the instruction printer to print those operands in hex.
This patch also adds support for MASM binary and hex literal numbers (example
0FFh, 101b).
Added tests to verify the behavior of the new flag. Tests also verify that masm
numeric literal operands are now recognized.
Differential Revision: https://reviews.llvm.org/D65588
llvm-svn: 367671
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp')
0 files changed, 0 insertions, 0 deletions