[all-commits] [llvm/llvm-project] 236fbf: [GlobalStatus] Skip non-pointer dead constant users
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Feb 1 06:51:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 236fbf571dc6cebcb81ac5187a170c8de6d5bc0e
https://github.com/llvm/llvm-project/commit/236fbf571dc6cebcb81ac5187a170c8de6d5bc0e
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M llvm/lib/Transforms/Utils/GlobalStatus.cpp
A llvm/test/Transforms/GlobalOpt/dead-constant-user.ll
Log Message:
-----------
[GlobalStatus] Skip non-pointer dead constant users
Constant expressions with a non-pointer result type used an early
exit that bypassed the later dead constant user check, and resulted
in different optimization outcomes depending on whether dead users
were present or not.
This fixes the issue reported in https://reviews.llvm.org/D117223#3287039.
More information about the All-commits
mailing list