[all-commits] [llvm/llvm-project] 31a166: [X86] Clean up some mir tests with INLINEASM to av...

topperc via All-commits all-commits at lists.llvm.org
Fri Apr 17 21:57:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 31a166e4cb913ff10af23b0968963d52b05a3ac5
      https://github.com/llvm/llvm-project/commit/31a166e4cb913ff10af23b0968963d52b05a3ac5
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/test/CodeGen/MIR/X86/inline-asm-registers.mir
    M llvm/test/CodeGen/X86/stack-folding-adx.mir
    M llvm/test/CodeGen/X86/stack-folding-bmi2.mir
    M llvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir

  Log Message:
  -----------
  [X86] Clean up some mir tests with INLINEASM to avoid regdef or to correct the immediate for the regdef.

The immediate used for the regdef is the encoding for the register
class in the enum generated by tablegen. This encoding will change
any time a new register class is added. Since the number is part
of the input, this means it can become stale.

This change modifies some test to avoid this kind of immediate
all together. And updates one test to use the current encoding of
GR64.




More information about the All-commits mailing list