Add an option to disable codegen prepare critical edge splitting. In theory, PHI...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 17 Aug 2010 01:34:49 +0000 (01:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 17 Aug 2010 01:34:49 +0000 (01:34 +0000)
commite1bcb440dc0ca3c41fda1c0c581abfc4f38ca170
treed5ba12acdbf6a5cbeacab61fad62aaee061c0919
parent44a2c3476bd15e03f294bae1b50016851f214f8d
Add an option to disable codegen prepare critical edge splitting. In theory, PHI elimination is already doing all (most?) of the splitting needed. But machine-licm and machine-sink seem to miss some important optimizations when splitting is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp