[all-commits] [llvm/llvm-project] 884e9a: [SimplifyCFG] Replace condition value when threading
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Apr 29 00:56:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 884e9a877b378f5bf03f3c85a25b7a139ef6c8d8
https://github.com/llvm/llvm-project/commit/884e9a877b378f5bf03f3c85a25b7a139ef6c8d8
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-29 (Fri, 29 Apr 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/jump-threading.ll
Log Message:
-----------
[SimplifyCFG] Replace condition value when threading
Replace the condition value with the known constant value on the
threaded edge. This happens implicitly with phi threading because
we replace with the incoming value, but not for non-phi threading.
More information about the All-commits
mailing list