aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorPierre van Houtryve <pierre.vanhoutryve@amd.com>2025-07-10 09:29:48 +0200
committerGitHub <noreply@github.com>2025-07-10 09:29:48 +0200
commited87f0afba24d56b509dfc21298b2700d886912b (patch)
tree2b237861a0e71bbee1f91873fa9b54fed8a0be37 /llvm/lib/CodeGen/CodeGen.cpp
parentcebfb75c9f02e2ef0d4deadf606299f87ec252cc (diff)
downloadllvm-ed87f0afba24d56b509dfc21298b2700d886912b.zip
llvm-ed87f0afba24d56b509dfc21298b2700d886912b.tar.gz
llvm-ed87f0afba24d56b509dfc21298b2700d886912b.tar.bz2
[AMDGPU] Visit all PHIs in each call to optimizeLiveType (#147522)
Make the Visited set a local variable, otherwise we can reject a PHI (those that do not have a zeroinitializer constant) but mark it as visited, and the rest of the function thinks the PHI is ok when it isn't. This is a bit crude but it's the only fix that consistently worked in my testing. Fixes SWDEV-541767
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions