[all-commits] [llvm/llvm-project] 4f5d93: [JumpThreading] Refactor ThreadEdge
kazutakahirata via All-commits
all-commits at lists.llvm.org
Thu Nov 21 12:56:49 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4f5d931c5813a5f89250b427b2d3e8c63e03a0c6
https://github.com/llvm/llvm-project/commit/4f5d931c5813a5f89250b427b2d3e8c63e03a0c6
Author: Kazu Hirata <kazu at google.com>
Date: 2019-11-21 (Thu, 21 Nov 2019)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
Log Message:
-----------
[JumpThreading] Refactor ThreadEdge
Summary:
This patch moves various checks from ThreadEdge to new function
TryThreadEdge The rational behind this is that I'd like to use
ThreadEdge without its checks in my upcoming patch.
This patch preserves lightweight checks as assertions in ThreadEdge.
ThreadEdge does not repeat the cost check, however.
Reviewers: wmi
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70338
More information about the All-commits
mailing list