[all-commits] [llvm/llvm-project] aa17d3: [X86] Remove FP0-6 operands from call instructions...

topperc via All-commits all-commits at lists.llvm.org
Thu Jan 2 11:11:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa17d31edb00c66461093b5a7cd2f4a35dc143e9
      https://github.com/llvm/llvm-project/commit/aa17d31edb00c66461093b5a7cd2f4a35dc143e9
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-01-02 (Thu, 02 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86FloatingPoint.cpp
    M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll

  Log Message:
  -----------
  [X86] Remove FP0-6 operands from call instructions in FPStackifier pass. Only count defs as returns.

All FP0-6 operands should be removed by the FP stackifier. By
removing these we fix the machine verifier error in PR39437.

I've also made it so that only defs are counted for STReturns
which removes what I think were extra stack cleanup instructions.

And I've removed the regcall assert because it was checking the
attributes of the caller, but here we're concerned with the
attributes of the callee. But I don't know how to get that
information from this level.




More information about the All-commits mailing list