diff options
author | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-06-12 06:23:42 +0000 |
---|---|---|
committer | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-06-12 06:57:42 +0000 |
commit | 48b126e30babd980e5614a12be875404480c1be5 (patch) | |
tree | 5ef9b3676bbda15062ec1a337770b826e5c6fc14 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | d1ef99fe1ce3e2996c317600a1398933b9078260 (diff) | |
download | llvm-48b126e30babd980e5614a12be875404480c1be5.zip llvm-48b126e30babd980e5614a12be875404480c1be5.tar.gz llvm-48b126e30babd980e5614a12be875404480c1be5.tar.bz2 |
[mlir][llvm] Ensure immediate usage in intrinsics
This commit changes intrinsics that have immarg parameter attributes to
model these parameters as attributes, instead of operands. Using
operands only works if the operation is an `llvm.mlir.constant`,
otherwise the exported LLVMIR is invalid.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D151692
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions