aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorChristian Ulmann <christian.ulmann@nextsilicon.com>2023-06-12 06:23:42 +0000
committerChristian Ulmann <christian.ulmann@nextsilicon.com>2023-06-12 06:57:42 +0000
commit48b126e30babd980e5614a12be875404480c1be5 (patch)
tree5ef9b3676bbda15062ec1a337770b826e5c6fc14 /llvm/lib/CodeGen/MachineScheduler.cpp
parentd1ef99fe1ce3e2996c317600a1398933b9078260 (diff)
downloadllvm-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