[all-commits] [llvm/llvm-project] 4a3760: [SystemZ] Improve handling of inline asm constrai...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Feb 5 14:05:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a3760d2ba3026d45f44fe127ac2909371d5ee19
      https://github.com/llvm/llvm-project/commit/4a3760d2ba3026d45f44fe127ac2909371d5ee19
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    A llvm/test/CodeGen/SystemZ/soft-float-inline-asm-04.ll

  Log Message:
  -----------
  [SystemZ]  Improve handling of inline asm constraints.

The "{=v0}" constraint did not result in the expected error message in the
abscence of the vector facility, because 'v0' matches as a string into the
AnyRegBitRegClass in common code.

This patch adds checks for vector support in case of "{v" and soft-float in
case of "{f" to remedy this.

Review: Ulrich Weigand.




More information about the All-commits mailing list