summaryrefslogtreecommitdiff
path: root/tools/llvm-stress
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
commit794c16ae856f827babb22f862f4e69118ad68b09 (patch)
treec04e53e6c493e7d6f87d3a8d03b48723b75470d8 /tools/llvm-stress
parent2e851a9abf781bc5feef9be98f794dcb1caab548 (diff)
downloadllvm-794c16ae856f827babb22f862f4e69118ad68b09.tar.gz
llvm-794c16ae856f827babb22f862f4e69118ad68b09.tar.bz2
llvm-794c16ae856f827babb22f862f4e69118ad68b09.tar.xz
Style fix: Remove unneeded parentheses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-stress')
-rw-r--r--tools/llvm-stress/llvm-stress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp
index e671c0c194..f9bf18faa5 100644
--- a/tools/llvm-stress/llvm-stress.cpp
+++ b/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());