diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-21 23:27:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-21 23:27:57 +0000 |
commit | eddfaaf07e0c538fe4ac74e6677f644594c1ceee (patch) | |
tree | acf9b9962f77bac3d18f8411da252cab357196e7 /lib/Transforms/Scalar/InstructionCombining.cpp | |
parent | d2191e549b42eed97366b34e3b7a567b6a1208c2 (diff) |
Add suggested parentheses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index ca60219b90..72dc26ef85 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -9598,10 +9598,10 @@ Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner, // MAX(MIN(a, b), a) -> a // MIN(MAX(a, b), a) -> a - if (SPF1 == SPF_SMIN && SPF2 == SPF_SMAX || - SPF1 == SPF_SMAX && SPF2 == SPF_SMIN || - SPF1 == SPF_UMIN && SPF2 == SPF_UMAX || - SPF1 == SPF_UMAX && SPF2 == SPF_UMIN) + if ((SPF1 == SPF_SMIN && SPF2 == SPF_SMAX) || + (SPF1 == SPF_SMAX && SPF2 == SPF_SMIN) || + (SPF1 == SPF_UMIN && SPF2 == SPF_UMAX) || + (SPF1 == SPF_UMAX && SPF2 == SPF_UMIN)) return ReplaceInstUsesWith(Outer, C); } |