summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-stress/llvm-stress.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-02-26 12:34:17 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-02-26 12:34:17 +0000
commit115ec82ec7d33daac5a04fe69cc4839566ca9258 (patch)
tree5d47ab8e4cafe9dd116aaab3447cff9f3824f993 /llvm/tools/llvm-stress/llvm-stress.cpp
parent63ff91d22ac3d744a5931b12a69aad39144625d5 (diff)
downloadbcm5719-llvm-115ec82ec7d33daac5a04fe69cc4839566ca9258.tar.gz
bcm5719-llvm-115ec82ec7d33daac5a04fe69cc4839566ca9258.zip
Style fix: Remove unneeded parentheses.
llvm-svn: 151488
Diffstat (limited to 'llvm/tools/llvm-stress/llvm-stress.cpp')
-rw-r--r--llvm/tools/llvm-stress/llvm-stress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp
index e671c0c1949..f9bf18faa5e 100644
--- a/llvm/tools/llvm-stress/llvm-stress.cpp
+++ b/llvm/tools/llvm-stress/llvm-stress.cpp
@@ -227,8 +227,8 @@ struct StoreModifier: public Modifier {
Type *ValTy = Val->getType();
// Do not store vectors of i1s because they are unsupported
- //by the codegen.
- if (ValTy->isVectorTy() && (ValTy->getScalarSizeInBits() == 1))
+ // by the codegen.
+ if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1)
return;
new StoreInst(Val, Ptr, BB->getTerminator());
OpenPOWER on IntegriCloud