aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorScott Linder <Scott.Linder@amd.com>2023-07-20 19:37:49 +0000
committerScott Linder <Scott.Linder@amd.com>2023-09-11 17:32:00 +0000
commit43331461954939032a03621998c30ac90299ad40 (patch)
tree733fdc7c3d790dcf618ea5edc5ac86e2b298e357 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent35e621f9ae65009c57b8e3e3c1aac7ba30b28d9a (diff)
downloadllvm-43331461954939032a03621998c30ac90299ad40.zip
llvm-43331461954939032a03621998c30ac90299ad40.tar.gz
llvm-43331461954939032a03621998c30ac90299ad40.tar.bz2
[NFC][AsmPrinter] Use std::visit in constructVariableDIEImpl
This potentially has a slightly positive performance impact, as std::visit can be implemented as a `switch`-like jump rather than a series of `if`s. More importantly, the reader can be confident is no overlap between the cases. Differential Revision: https://reviews.llvm.org/D158678
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions