[all-commits] [llvm/llvm-project] 5b40a0: [InstCombine] Don't look at ConstantData users
Alexis Engelke via All-commits
all-commits at lists.llvm.org
Tue Aug 13 11:45:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b40a05d8f2872e4822fd5ff18383fbd5944f511
https://github.com/llvm/llvm-project/commit/5b40a05d8f2872e4822fd5ff18383fbd5944f511
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-08-13 (Tue, 13 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
A llvm/test/Transforms/InstCombine/phi-int-users.ll
Log Message:
-----------
[InstCombine] Don't look at ConstantData users
When looking at PHI operand for combining, only look at instructions and
arguments. The loop later iteraters over Arg's users, which is not
useful if Arg is a constant -- it's users are not meaningful and might
be in different functions, which causes problems for the dominates()
query.
Pull Request: https://github.com/llvm/llvm-project/pull/103302
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