summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ThreadLocal.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-06-13 09:42:13 +0000
committerDuncan Sands <baldrick@free.fr>2012-06-13 09:42:13 +0000
commit318a89ddacd6f4c9044b2e85bdab42bda4dac2cd (patch)
treeff7bf034f563992c895f4e70a8bea14612fef8b2 /llvm/lib/Support/ThreadLocal.cpp
parent71dc02d6590b76604fb2df0f59ab4c5e6dd121c7 (diff)
downloadbcm5719-llvm-318a89ddacd6f4c9044b2e85bdab42bda4dac2cd.tar.gz
bcm5719-llvm-318a89ddacd6f4c9044b2e85bdab42bda4dac2cd.zip
When linearizing a multiplication, return at once if we see a factor of zero,
since then the entire expression must equal zero (similarly for other operations with an absorbing element). With this in place a bunch of reassociate code for handling constants is dead since it is all taken care of when linearizing. No intended functionality change. llvm-svn: 158398
Diffstat (limited to 'llvm/lib/Support/ThreadLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud