Add a comment to associate a FIXME with a PR where it is matters.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 20 Nov 2012 01:27:48 +0000 (01:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 20 Nov 2012 01:27:48 +0000 (01:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168347 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SROA.cpp

index 15103d784bc7e9a618b97c31ebf2fe92e56dbc81..85c5d0a50d0d6f694bbb780e8b4a90859493368a 100644 (file)
@@ -2113,7 +2113,8 @@ static bool isVectorPromotionViable(const DataLayout &TD,
       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;