summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-02-21 01:19:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-02-21 01:19:51 +0000
commit7d445e92c3206ab312b385202a6c81c59fd9599c (patch)
tree7e9d3ca9a157053377b045606a7c16385d9aa25d /clang
parent4284c36ef5a3ac4338f1c99fde798650ceefbdc0 (diff)
downloadbcm5719-llvm-7d445e92c3206ab312b385202a6c81c59fd9599c.tar.gz
bcm5719-llvm-7d445e92c3206ab312b385202a6c81c59fd9599c.zip
It turns out that with the current scev organization ReuseOrCreateCast cannot
know where users will be added. Because of this, it cannot use Builder.GetInsertPoint at all. This patch * removes the FIXME about adding the assert. * adds a comment explaining hy we don't have one. * removes a broken logic that only works for some callers and is not needed since r150884. * adds an assert to caller that would have caught the bug fixed by r150884. llvm-svn: 151015
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud