aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-06-30 14:35:07 -0700
committerCraig Topper <craig.topper@intel.com>2020-06-30 14:38:22 -0700
commit1df1186ab12d87f42f3e8c5bd7703520d5bf1f17 (patch)
tree9219434169ab2d2df044e815bcbe6d5d00f1ebe6 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent73377c45974855a00b13974cd515e875c5605556 (diff)
downloadllvm-1df1186ab12d87f42f3e8c5bd7703520d5bf1f17.zip
llvm-1df1186ab12d87f42f3e8c5bd7703520d5bf1f17.tar.gz
llvm-1df1186ab12d87f42f3e8c5bd7703520d5bf1f17.tar.bz2
[X86] Use some preprocessor macros to reduce the very similar repeated code in getVPTESTMOpc. NFCI
This function picks X86 opcode name based on type, masking, and whether not a load or broadcast has been folded using multiple switch statements. The contents of the switches mostly just vary in a few characters in the instruction name. So use some macros to build the instruction names to reduce the repetiveness.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions