[SimplifyCFG] Be more aggressive
authorJames Molloy <james.molloy@arm.com>
Fri, 13 Feb 2015 10:48:30 +0000 (10:48 +0000)
committerJames Molloy <james.molloy@arm.com>
Fri, 13 Feb 2015 10:48:30 +0000 (10:48 +0000)
commitc76bff0715a253321a33287d8dc319e08f6fee8b
tree5a2d5de9564a856f39a5a4c0524a3c39aaaad861
parent94b64060afe95fa064c875d010ec77731c117cb9
[SimplifyCFG] Be more aggressive

Up the phi node folding threshold from a cheap "1" to a meagre "2".

Update tests for extra added selects and slight code churn.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/CodeGen/AArch64/analyzecmp.ll
test/CodeGen/AArch64/arm64-promote-const.ll