[llvm-commits] [llvm] r168347 - /llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Chandler Carruth
chandlerc at gmail.com
Mon Nov 19 17:27:48 PST 2012
Author: chandlerc
Date: Mon Nov 19 19:27:48 2012
New Revision: 168347
URL: http://llvm.org/viewvc/llvm-project?rev=168347&view=rev
Log:
Add a comment to associate a FIXME with a PR where it is matters.
Modified:
llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=168347&r1=168346&r2=168347&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Mon Nov 19 19:27:48 2012
@@ -2113,7 +2113,8 @@
return false;
// FIXME: We should build shuffle vector instructions to handle
- // non-element-sized accesses.
+ // non-element-sized accesses. See PR14055 for an example of where this
+ // matters.
if ((EndOffset - BeginOffset) != ElementSize &&
(EndOffset - BeginOffset) != VecSize)
return false;
More information about the llvm-commits
mailing list