[all-commits] [llvm/llvm-project] 1220c5: [MC] Store implicit ops immediately after the Targ...
Jay Foad via All-commits
all-commits at lists.llvm.org
Mon Mar 27 03:40:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1220c5d4ac00ebf64128678e4ffd2abd9f5d60ae
https://github.com/llvm/llvm-project/commit/1220c5d4ac00ebf64128678e4ffd2abd9f5d60ae
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
M llvm/include/llvm/MC/MCInstrDesc.h
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/unittests/CodeGen/MachineInstrTest.cpp
M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
M llvm/utils/TableGen/InstrInfoEmitter.cpp
Log Message:
-----------
[MC] Store implicit ops immediately after the TargetInsts table. NFC.
This shrinks MCInstrDesc (and hence the whole TargetInsts table) because
we can store a 16-bit offset value to access the implicit operands,
instead of a pointer. This also reduces the number of relocs that need
to be applied when LLVM is compiled as position-independent code.
Differential Revision: https://reviews.llvm.org/D142218
Commit: 8dcdc37a5fca72db61c63304c52e0e2da925143a
https://github.com/llvm/llvm-project/commit/8dcdc37a5fca72db61c63304c52e0e2da925143a
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
M llvm/include/llvm/MC/MCInstrDesc.h
M llvm/unittests/CodeGen/MachineInstrTest.cpp
M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
M llvm/utils/TableGen/InstrInfoEmitter.cpp
Log Message:
-----------
[MC] Store operand info immediately after the TargetInsts table. NFC.
This shrinks MCInstrDesc (and hence the whole TargetInsts table) because
we can store a 16-bit offset value to access the operands info, instead
of a pointer. This also reduces the number of relocs that need to be
applied when LLVM is compiled as position-independent code.
Differential Revision: https://reviews.llvm.org/D142219
Compare: https://github.com/llvm/llvm-project/compare/a826b9034bbd...8dcdc37a5fca
More information about the All-commits
mailing list