Diff Detail
Diff Detail
Event Timeline
Comment Actions
This looks correct, but probably not enough.
The point of assumes is that you need them because you're assuming something you don't know, and which globalopt probably also doesn't know. For instance, that a load from an external is equal to some particular value. Globalopt will stop processing when it sees that load, and never get to the assume.
test/Transforms/GlobalOpt/assume.ll | ||
---|---|---|
12 | What's up with the personality? Is this needed for the testcase? |
test/Transforms/GlobalOpt/assume.ll | ||
---|---|---|
12 | ok, got rid of it #copypasting |
What's up with the personality? Is this needed for the testcase?