[all-commits] [llvm/llvm-project] dc81e6: [IndVars] Check expansion safety in makeIVComparis...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed May 31 02:21:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc81e69eb126ea1dbab202733ae34b1a3d6eb0cf
https://github.com/llvm/llvm-project/commit/dc81e69eb126ea1dbab202733ae34b1a3d6eb0cf
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
A llvm/test/Transforms/IndVarSimplify/pr62992.ll
Log Message:
-----------
[IndVars] Check expansion safety in makeIVComparisonInvariant() (PR62992)
Make sure the invariant expressions are safe to expand. In
particular, we should not speculative a trapping division into
the preheader.
Fixes https://github.com/llvm/llvm-project/issues/62992.
More information about the All-commits
mailing list