llvm-project
dc6876fc - [ValueTracking] Use isSafeToSpeculativelyExecuteWithVariableReplaced() in more places (#109149)

Commit
1 year ago
[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.
Author
Parents
Loading