summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-16 12:16:38 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-16 12:16:38 +0000
commit1845009290e4d804ad377927bd8a08cca3036adc (patch)
tree159282f37ef5846586982c9760bc5874c830f23f /examples
parent2c920850343810535c0cd8720a81eddf7997663a (diff)
downloadllvm-1845009290e4d804ad377927bd8a08cca3036adc.tar.gz
llvm-1845009290e4d804ad377927bd8a08cca3036adc.tar.bz2
llvm-1845009290e4d804ad377927bd8a08cca3036adc.tar.xz
In which I discover the existence of loops. Threading an operation
over a phi node by applying it to each operand may be wrong if the operation and the phi node are mutually interdependent (the testcase has a simple example of this). So only do this transform if it would be correct to perform the operation in each predecessor of the block containing the phi, i.e. if the other operands all dominate the phi. This should fix the FFMPEG snow.c regression reported by İsmail Dönmez. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions