From 28a821df7d7dc482489eb960a7c2fb97638cbacc Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Fri, 8 Jun 2012 13:32:57 -0700 Subject: [PATCH] Improve wording of gather/scatter performance warnings. --- opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opt.cpp b/opt.cpp index 66e12769..a082382c 100644 --- a/opt.cpp +++ b/opt.cpp @@ -3717,9 +3717,9 @@ PseudoGSToGSPass::runOnBasicBlock(llvm::BasicBlock &bb) { callInst->setCalledFunction(info->actualFunc); if (gotPosition && g->target.vectorWidth > 1) { if (info->isGather) - PerformanceWarning(pos, "Gather required to compute value in expression."); + PerformanceWarning(pos, "Gather required to load value."); else - PerformanceWarning(pos, "Scatter required for storing value."); + PerformanceWarning(pos, "Scatter required to store value."); } modifiedAny = true; goto restart;