OSDN Git Service

[AArch64] Add a FIXME comment.
authorChad Rosier <mcrosier@codeaurora.org>
Tue, 2 Feb 2016 15:22:55 +0000 (15:22 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Tue, 2 Feb 2016 15:22:55 +0000 (15:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259515 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp

index 0b16a2c..253d76f 100644 (file)
@@ -1021,6 +1021,8 @@ bool AArch64LoadStoreOpt::findMatchingStore(
   ModifiedRegs.reset();
   UsedRegs.reset();
 
+  // FIXME: We miss the case where the matching store is the first instruction
+  // in the basic block.
   for (unsigned Count = 0; MBBI != E && Count < Limit;) {
     --MBBI;
     MachineInstr *MI = MBBI;