llvm-capstone/mlir/test/mlir-cpu-runner
Markus Böck afcceec744 [mlir][LLVM] Don't make LLVM_IntPtrBase a BuildableType to allow the use of opaque pointers
Making the constraint a buildable type makes them incompatible with opaque pointers, at least while we still support typed pointers, since Ops making use of the constraint will then automatically create a typed pointer on parse.

This patch therefore fixes that issue by removing the `BuildableType` mixin. This has a bit of a cascading effect however, as all users of the constraint now need operands of that type to be added to the assembly format, hence a lot of adjustments to the syntax of a lot of (mostly intrinsic) ops.

Few things of note: The syntax as is, is only required while we're supporting both typed and opaque pointers. Once we drop support for typed pointers, we can make it a `BuildableType` again. As a drive by I also fixed the address space not being verified in the constraint. Finally, I added some roundtripping tests, most importantly for ops with `type($specific_operand)` occurences. These are printed incorrectly with typed pointers if not wrapped within a `qualified`.

Differential Revision: https://reviews.llvm.org/D144479
2023-02-21 20:46:33 +01:00
..
X86Vector Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
async-error.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
async-func.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
async-group.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
async-value.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
async.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
bare-ptr-call-conv.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
copy.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
global-memref.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
invalid.mlir [mlir] Fix test failure with invalid piping syntax on old bash 2022-10-07 09:29:49 +09:00
lit.local.cfg Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
math-polynomial-approx.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
memref-reinterpret-cast.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
memref-reshape.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
print.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
sgemm-naive-codegen.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
simple.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
unranked-memref.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
utils.mlir Reland "[mlir] Make the vast majority of intgration and runner tests work on Windows" 2023-02-15 19:14:43 +01:00
x86-varargs.mlir [mlir][LLVM] Don't make LLVM_IntPtrBase a BuildableType to allow the use of opaque pointers 2023-02-21 20:46:33 +01:00