GVN-hoist: move check before mutating the IR
authorSebastian Pop <sebpop@gmail.com>
Fri, 22 Jul 2016 00:07:01 +0000 (00:07 +0000)
committerSebastian Pop <sebpop@gmail.com>
Fri, 22 Jul 2016 00:07:01 +0000 (00:07 +0000)
commit0e2cec075c98fe33623229dcb6ee6275f2897de4
treeb3058f936e95ba86e7dfa8e1fd483dace11a7173
parentfe28a0fdd532bc058aafdf2a2bc6b93600c46434
GVN-hoist: move check before mutating the IR

llvm-svn: 276368
llvm/lib/Transforms/Scalar/GVNHoist.cpp