[PATCH] D17201: [SCEV] Introduce a guarded backedge taken count and use it in LAA and LV

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 09:20:00 PDT 2016


sbaranga added a comment.

Re-committed in r265786 with a fix. Essentially, we can't use a pointer allocated by new with PointerIntPair, since new doesn't guarantee alignment, which is required by PointerIntPair. So I've broken this up into a pointer and a bool.

We could use a special allocator (SpecificBumpPtrAllocator?) to guarantee alignment in order to work around this, but it doesn't make much sense since the allocation scheme for ExitNotTakenInfo/Extras will probably change soon anyway.


http://reviews.llvm.org/D17201





More information about the llvm-commits mailing list