aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-08-16 15:09:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-08-16 15:09:43 +0000
commitcc80cdebb9f3f835283cf70c5b99b8a7fc1ce9bd (patch)
tree2bda0975bc5e462a0615629cf15dd5da9b17d7c2 /clang/test/Analysis/array-struct.c
parent3482ec3bc8bd457bca29299ae1aa1ed16312f757 (diff)
downloadllvm-cc80cdebb9f3f835283cf70c5b99b8a7fc1ce9bd.zip
llvm-cc80cdebb9f3f835283cf70c5b99b8a7fc1ce9bd.tar.gz
llvm-cc80cdebb9f3f835283cf70c5b99b8a7fc1ce9bd.tar.bz2
Teach GVN to reason about edges dominating uses. This allows it to handle cases
where some fact lake a=b dominates a use in a phi, but doesn't dominate the basic block itself. This feature could also be implemented by splitting critical edges, but at least with the current algorithm reasoning about the dominance directly is faster. The time for running "opt -O2" in the testcase in pr10584 is 1.003 times slower and on gcc as a single file it is 1.0007 times faster. llvm-svn: 162023
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions