[all-commits] [llvm/llvm-project] c9cb8e: [PowerPC] Allow scalars for asm constraint "v" wit...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Nov 23 15:03:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9cb8edc519e4fa80b28fb4e0cc2bd8423742d21
      https://github.com/llvm/llvm-project/commit/c9cb8edc519e4fa80b28fb4e0cc2bd8423742d21
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    A llvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll

  Log Message:
  -----------
  [PowerPC] Allow scalars for asm constraint "v" with VSX

Similarly to what GCC does, we should allow scalars with
the "v" constraint rather than introducing unnecessary
new constraints for scalars in Altivec registers.

Differential revision: https://reviews.llvm.org/D113635




More information about the All-commits mailing list