[all-commits] [llvm/llvm-project] 0db972: [X86] Remove usesCustomInserter from MWAITX_SAVE_E...

topperc via All-commits all-commits at lists.llvm.org
Sun Oct 4 15:29:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0db97234cf490e464c82f2191fef2d8a163106fb
      https://github.com/llvm/llvm-project/commit/0db97234cf490e464c82f2191fef2d8a163106fb
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-10-04 (Sun, 04 Oct 2020)

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

  Log Message:
  -----------
  [X86] Remove usesCustomInserter from MWAITX_SAVE_EBX and MWAITX_SAVE_RBX. NFC

These are now emitted by a CustomInserter rather than using a custom
inserter themselves.


  Commit: 952dfd76c6696207cc290c4f6f15d5dea5cca795
      https://github.com/llvm/llvm-project/commit/952dfd76c6696207cc290c4f6f15d5dea5cca795
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-10-04 (Sun, 04 Oct 2020)

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

  Log Message:
  -----------
  [X86] Correct the implicit defs/uses for the MWAITX pseudo instructions.

MWAITX doesn't touch EFLAGS so no pseudos should def EFLAGS.

The SAVE_EBX/RBX pseudos only needs to def the EBX register that
the expansion overwrites. The EAX and ECX registers are only read.

The pseudo emitted during isel that is used by the custom inserter
shouldn't have any implicit defs or uses since everything is in
vregs.


Compare: https://github.com/llvm/llvm-project/compare/b0dce6b37f15...952dfd76c669


More information about the All-commits mailing list