[all-commits] [llvm/llvm-project] ed87f0: [AMDGPU] Visit all PHIs in each call to optimizeLi...
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Thu Jul 10 00:30:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed87f0afba24d56b509dfc21298b2700d886912b
https://github.com/llvm/llvm-project/commit/ed87f0afba24d56b509dfc21298b2700d886912b
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2025-07-10 (Thu, 10 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
A llvm/test/CodeGen/AMDGPU/amdgpu-late-codegenprepare-crash-splat.ll
Log Message:
-----------
[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
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