[PATCH] D157965: [RISCV][NFC] Move tests of inline asm memory constraints to separate file

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 20:55:26 PDT 2023


jrtc27 added a comment.

In D157965#4590718 <https://reviews.llvm.org/D157965#4590718>, @wangpc wrote:

> In D157965#4588623 <https://reviews.llvm.org/D157965#4588623>, @jrtc27 wrote:
>
>> Why do they need moving?
>
> We don't need to check `medium` code model for other constraints in `inline-asm.ll`, so I just move all memory-related constraints to new file.

constraint_r(_zero) still do loads though. And if you use --check-prefixes smartly then it only duplicates CHECK lines for functions that differ between code models.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157965/new/

https://reviews.llvm.org/D157965



More information about the llvm-commits mailing list