[all-commits] [llvm/llvm-project] 9ba452: [JumpThreading] Don't pass DT to isGuaranteedNotTo...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue May 17 02:54:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ba452b08eb5368bd89126102031b687d0ecdbaf
https://github.com/llvm/llvm-project/commit/9ba452b08eb5368bd89126102031b687d0ecdbaf
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-17 (Tue, 17 May 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
Log Message:
-----------
[JumpThreading] Don't pass DT to isGuaranteedNotToBeUndefOrPoison()
JumpThreading intentionally does not force updating of the DT
during optimization, because this may be expensive when many CFG
updates and DT calculations are interleaved.
We shouldn't be fetching the DT just for the purpose of calling
isGuaranteedNotToBeUndefOrPoison(), especially as DT availability
doesn't even show benefit in tests.
More information about the All-commits
mailing list