[SROA] Teach SROA how to handle pointers from address spaces other than

Press ? to show keyboard shortcuts.
Committed
chandlercFeb 26 2014, 12:25 AM
Parents
rL202246: [asan] asan_device_setup: fix a typo in usage text
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

[SROA] Teach SROA how to handle pointers from address spaces other than
the default.

Based on the patch by Matt Arsenault, D1764!

I switched one place to use the more direct pointer type to compute the
desired address space, and I reworked the memcpy rewriting section to
reflect significant refactorings that this patch helped inspire.

Thanks to several of the folks who helped review and improve the patch
as well.

rL202247

llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Loading...

llvm/trunk/test/Transforms/SROA/address-spaces.ll

Loading...

llvm/trunk/test/Transforms/SROA/basictest.ll

Loading...

llvm/trunk/test/Transforms/SROA/vector-promotion.ll

Loading...

Add Comment