diff options
author | Craig Topper <craig.topper@intel.com> | 2020-07-31 17:07:20 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-07-31 17:16:27 -0700 |
commit | 93c678a79b0a8914954d77973593ea36706db5d5 (patch) | |
tree | 3cf4f0d5a291f7ba75696c902e42deee1765f2b1 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 1b35c4fed29d6136ce241a692ce0a7165e59bf81 (diff) | |
download | llvm-93c678a79b0a8914954d77973593ea36706db5d5.zip llvm-93c678a79b0a8914954d77973593ea36706db5d5.tar.gz llvm-93c678a79b0a8914954d77973593ea36706db5d5.tar.bz2 |
[X86] Simplify vpternlog immediate selection.
Rather than hardcoding immediate values for 12 different combinations
in a nested pair of switches, we can perform the matched logic
operation on 3 magic constants to calculate the immediate.
Special thanks to this tweet https://twitter.com/rygorous/status/1187034321992871936
for making me realize I could do this.
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions