aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <andrea.dibiagio@sony.com>2021-05-31 16:39:35 +0100
committerAndrea Di Biagio <andrea.dibiagio@sony.com>2021-05-31 17:05:13 +0100
commit9853d0db1e01691562003914f1e803ab0d3a15b2 (patch)
tree5f8248e9e49d0b3a9998436f860b8d4cb71eb120 /llvm/lib/CodeGen/SafeStack.cpp
parenta610df533379036b2b305350be244677e3702bca (diff)
downloadllvm-9853d0db1e01691562003914f1e803ab0d3a15b2.zip
llvm-9853d0db1e01691562003914f1e803ab0d3a15b2.tar.gz
llvm-9853d0db1e01691562003914f1e803ab0d3a15b2.tar.bz2
[MCA][NFCI] Minor changes to InstrBuilder and Instruction.
This is based on the assumption that most simulated instructions don't define more than one or two registers. This is true for example on x86, where most instruction definitions don't declare more than one register write. The default code region size has been increased from 8 to 16. This is based on the assumption that, for small microbenchmarks, the typical code snippet size is often less than 16 instructions. mca::Instruction now uses bitfields to pack flags. No functional change intended.
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions