[llvm] 4aa893b - [ARM][MVE] tail-predication: renamed internal option.

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 07:07:45 PDT 2020


Author: Sjoerd Meijer
Date: 2020-06-19T15:07:06+01:00
New Revision: 4aa893b8f2d622d9d094cd9f3de68dbaef558cfd

URL: https://github.com/llvm/llvm-project/commit/4aa893b8f2d622d9d094cd9f3de68dbaef558cfd
DIFF: https://github.com/llvm/llvm-project/commit/4aa893b8f2d622d9d094cd9f3de68dbaef558cfd.diff

LOG: [ARM][MVE] tail-predication: renamed internal option.

Renamed -force-tail-predication to -force-mve-tail-predication because
that's more descriptive and consistent.

Added: 
    

Modified: 
    llvm/lib/Target/ARM/MVETailPredication.cpp
    llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARM/MVETailPredication.cpp b/llvm/lib/Target/ARM/MVETailPredication.cpp
index e6ec52dc54dc..5c00c07a243a 100644
--- a/llvm/lib/Target/ARM/MVETailPredication.cpp
+++ b/llvm/lib/Target/ARM/MVETailPredication.cpp
@@ -64,8 +64,8 @@ using namespace llvm;
 #define DESC "Transform predicated vector loops to use MVE tail predication"
 
 static cl::opt<bool>
-ForceTailPredication("force-tail-predication", cl::Hidden, cl::init(false),
-                     cl::desc("Force tail-predication even if it might be "
+ForceTailPredication("force-mve-tail-predication", cl::Hidden, cl::init(false),
+                     cl::desc("Force MVE tail-predication even if it might be "
                               "unsafe (e.g. possible overflow in loop "
                               "counters)"));
 

diff  --git a/llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll b/llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll
index a93440dbcce7..0b103ca54750 100644
--- a/llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll
+++ b/llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll
@@ -1,6 +1,6 @@
 ; RUN: opt -mtriple=thumbv8.1m.main -mve-tail-predication -disable-mve-tail-predication=false -mattr=+mve %s -S -o - | FileCheck %s
 ; RUN: opt -mtriple=thumbv8.1m.main -mve-tail-predication -disable-mve-tail-predication=false \
-; RUN:    -force-tail-predication -mattr=+mve %s -S -o - | FileCheck %s --check-prefix=FORCE
+; RUN:    -force-mve-tail-predication -mattr=+mve %s -S -o - | FileCheck %s --check-prefix=FORCE
 
 ; CHECK-LABEL: reduction_i32
 ; CHECK: phi i32 [ 0, %vector.ph ]


        


More information about the llvm-commits mailing list