[all-commits] [llvm/llvm-project] 5d69ee: [X86] Mark the Key Locker instructions as NotMemor...

topperc via All-commits all-commits at lists.llvm.org
Sat Oct 17 18:03:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d69eecc533817d19e62434f36409e0ff8df3d8a
      https://github.com/llvm/llvm-project/commit/5d69eecc533817d19e62434f36409e0ff8df3d8a
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-10-17 (Sat, 17 Oct 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrKL.td

  Log Message:
  -----------
  [X86] Mark the Key Locker instructions as NotMemoryFoldable to make the X86FoldTablesEmitter not crash.

loadiwkey and aesenc128kl share the same opcode but one is memory
and one is register. But they're behavior is quite different. We
were crashing because one has an output register and one doesn't
and the backend couldn't account for that. But since they aren't
foldable we can just add NotMemoryFoldable so they won't be looked at.




More information about the All-commits mailing list