[all-commits] [llvm/llvm-project] 08b275: [X86] Remove unnecessary In64BitMode predicate fro...

topperc via All-commits all-commits at lists.llvm.org
Thu Jun 11 00:35:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 08b275f62e2721296d8f0cf234c8ea1c45e7fa91
      https://github.com/llvm/llvm-project/commit/08b275f62e2721296d8f0cf234c8ea1c45e7fa91
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

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

  Log Message:
  -----------
  [X86] Remove unnecessary In64BitMode predicate from TEST64ri32. NFC

This appears to have been added when In64BitMode was added to a
bunch of instructions that don't have register operands. When an
instruction uses a register the parser will prevent a 64-bit
register from being parsed on a 32-bit target. But with only
memory and immediate operands this doesn't happen.

TEST64ri32 does have a register operand so the issue the predicate
was supposed to fix doesn't apply.




More information about the All-commits mailing list