aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-06-13 11:06:31 -0400
committerGitHub <noreply@github.com>2025-06-13 11:06:31 -0400
commit9e622986526a35f3f8bc60a7fc756b5c7bf825c0 (patch)
tree7acbdaf29c1bdcc100f31f364b969a1602ffcd07 /clang/lib/CodeGen/CodeGenFunction.cpp
parentebd7f7539b1c2bc7d5e391bbb00cb56dc245b2dd (diff)
downloadllvm-9e622986526a35f3f8bc60a7fc756b5c7bf825c0.zip
llvm-9e622986526a35f3f8bc60a7fc756b5c7bf825c0.tar.gz
llvm-9e622986526a35f3f8bc60a7fc756b5c7bf825c0.tar.bz2
[mlir][spirv] Fix FuncOpVectorUnroll to process placeholder values in all blocks (#142339)
`FuncOpVectorUnroll` contains logic that replaces function arguments by placeholders values. These replacements also involve changing all instructions in the function that use the arguments to use these placeholders. These placeholder values will later be changed back to use the function arguments (either new or original if already legal). The current implementation however only replaces back (the second replacement, i.e. replacing the placeholder values to new/legal arguments) the first block of instructions and not all of the blocks. This may leave some instructions to use these placeholder values (which for already legal arguments are just zeroattr values that will get DCE'd) instead of the arguments, which is incorrect. Closes #132158.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions