[llvm] [RISCV][GlobalISel] Legalize G_ADD, G_SUB, G_AND, G_OR, G_XOR on RISC-V Vector Extension (PR #71400)

Jiahan Xie via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 18 11:13:27 PST 2023


================
@@ -181,3 +181,330 @@ body:             |
     PseudoRET implicit $x10, implicit $x11, implicit $x12
 
 ...
+---
+name:  test_nxv1s8
----------------
jiahanxie353 wrote:

For that, I always manually type `./build/bin/llc ... -mattr=+v .../legalize-add.mir` in the terminal.
Can we insert `-mattr=+v` in the middle of the test file, so the attribute is added on the flight?

https://github.com/llvm/llvm-project/pull/71400


More information about the llvm-commits mailing list