diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-21 01:19:51 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-21 01:19:51 +0000 |
commit | 7d445e92c3206ab312b385202a6c81c59fd9599c (patch) | |
tree | 7e9d3ca9a157053377b045606a7c16385d9aa25d /clang | |
parent | 4284c36ef5a3ac4338f1c99fde798650ceefbdc0 (diff) | |
download | bcm5719-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