[all-commits] [llvm/llvm-project] dc6876: [ValueTracking] Use isSafeToSpeculativelyExecuteWi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Sep 19 00:38:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc6876fc9890f556ed1692141643c73b1542ee5b
https://github.com/llvm/llvm-project/commit/dc6876fc9890f556ed1692141643c73b1542ee5b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[ValueTracking] Use isSafeToSpeculativelyExecuteWithVariableReplaced() in more places (#109149)
This replaces some uses of isSafeToSpeculativelyExecute() with
isSafeToSpeculativelyExecuteWithVariableReplaced(), in cases where we
are guarding against operand changes rather plain speculation.
I believe that this is NFC with the current implementation of the
function (as it only does something different from loads), but this
makes us more defensive against future generalizations.
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