Reduce the number of non-trivial domtree queries by about 1% when
authorDuncan Sands <baldrick@free.fr>
Sun, 5 Feb 2012 15:50:43 +0000 (15:50 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 5 Feb 2012 15:50:43 +0000 (15:50 +0000)
commit68e20223a7260b5978dc85af6fea647be4c6a5f9
treeab34df6d4e8668834fa135e79b04ef8ccebb6966
parent5b8a1db7ea6510a2589f710d50754599da742de9
Reduce the number of non-trivial domtree queries by about 1% when
compiling sqlite3, by only doing dom queries after the cheap check
rather than interleaved with it.

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