We will need to check the output of medium code model.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
60,040 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll | ||
---|---|---|
7 | And I said medany, not pic. PIC implies GOT indirection, which means the %pcrel_lo12 is hidden behind a load, and so isn't of interest. |
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.
llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll | ||
---|---|---|
7 | Ooops, my mistake. Updated. |
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.
The inline asm with constraint r won't influenced by code model because it will always be a register.
And if you use --check-prefixes smartly then it only duplicates CHECK lines for functions that differ between code models.
Yeah I know. I just think that we should split them out as there are some custom lowering in SelectInlineAsmMemoryOperand for memory constraints, which is different from other constraints.
I don't think this will increase complexity as there are other separate tests for constraints like f, S, etc.
And I said medany, not pic. PIC implies GOT indirection, which means the %pcrel_lo12 is hidden behind a load, and so isn't of interest.