[all-commits] [llvm/llvm-project] 97187e: [AArch64] update "rm" inline asm test (#67472)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Wed Sep 27 08:30:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97187e127881a68c37ee5a058d59524f0bd4c08a
      https://github.com/llvm/llvm-project/commit/97187e127881a68c37ee5a058d59524f0bd4c08a
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M llvm/test/CodeGen/AArch64/arm64_32.ll

  Log Message:
  -----------
  [AArch64] update "rm" inline asm test (#67472)

Because `x0` is not listed in the clobber list, regalloc could (one day
when #20571 is fixed) allocate `$0` to `x0`:

  ldr x0, x0

This will produce an error when validating the instruction. The intent
of this test FWICT is to check that the parameter in w0 is stored to a
stack slot using w0, since this target triple is the exotic arm64_32
(ILP32). Update the test to simply use "m" constraint. The clobber list
is underconstrained otherwise.




More information about the All-commits mailing list