[SimplifyCFG] Override options in default constructor
authorArthur Eubanks <aeubanks@google.com>
Tue, 15 Sep 2020 20:03:05 +0000 (13:03 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 21 Sep 2020 23:33:01 +0000 (16:33 -0700)
commit1747f7776403626b23ef0389264643fe4d6bec17
treef095f79e45524ce6f9a772322f7b1f6d4fae4050
parent394d02016705e4b0fdfaa34c53be695f3f61922d
[SimplifyCFG] Override options in default constructor

SimplifyCFG's options should always be overridden by command line flags,
but they mistakenly weren't in the default constructor.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D87718
llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h
llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
llvm/test/Transforms/SimplifyCFG/HoistCode.ll