[all-commits] [llvm/llvm-project] d714aa: [SimplifyCFG] Handle AssumptionCache being null.
Rodrigo Rocha via All-commits
all-commits at lists.llvm.org
Sat Dec 7 08:55:38 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d714aa0dfdb16270fc279e8e91d4a83ace531529
https://github.com/llvm/llvm-project/commit/d714aa0dfdb16270fc279e8e91d4a83ace531529
Author: Rodrigo Caetano Rocha <rcor.cs at gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[SimplifyCFG] Handle AssumptionCache being null.
AssumptionCache can be null in SimplifyCFGOptions. However, FoldCondBranchOnPHI() was not properly handling that when passing a null AssumptionCache to simplifyCFG.
Patch by Rodrigo Caetano Rocha <rcor.cs at gmail.com>
Reviewers: fhahn, lebedev.ri, spatel
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D69963
More information about the All-commits
mailing list