[all-commits] [llvm/llvm-project] b9d7ef: Fix handling of integer template argument in emitc...
Vimal via All-commits
all-commits at lists.llvm.org
Mon May 26 20:47:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9d7ef7d5ad35a77d9ff87a8163de32422699e2c
https://github.com/llvm/llvm-project/commit/b9d7ef7d5ad35a77d9ff87a8163de32422699e2c
Author: Vimal <111337181+patel-vimal at users.noreply.github.com>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/common-cpp.mlir
Log Message:
-----------
Fix handling of integer template argument in emitc.call_opaque (#141451)
Integer attributes supplied to `emitc.call_opaque` as arguments were
treated as index into the operands list. This should be the case only
for the normal arguments but not for the template arguments which can't
refer to SSA values. This commit updates the handling of template
arguments in mlir-to-cpp by removing special handling of integer
attributes.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list