change use_iterator to user_iterator
Details
Diff Detail
Event Timeline
Ping?
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
const Instruction *Inst = dyn_cast<GetElementPtrInst>(U) looks wrong. The rest two might be OK. Can someone take a quick look? Thanks
Hi Weiming,
Did you try to come up with a test for these? You could well be right, but it's a bit difficult to say with bare code like this.
Cheers.
Tim.
Hi Tim,
Unfortunately I have no test case yet. I spot that when I scan the code for use_iterator. We got some issues with change of Use class. The tricky thing is, sometime it just causes the optimization exit quietly, no build fail or runtime assertion.
Anyway, I'll keep an eye on it and let you know if I find out something.
Thanks,
Weiming
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation