projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor: Simplify boolean conditional return statements in lib/Target/PowerPC
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCISelDAGToDAG.cpp
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index a2d588c8c264cb03f987cfe17b11ea96fa2b7ad3..1eaa8118ba0a72a493217fe41a0d778fc0858121 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-1612,10
+1612,7
@@
class BitPermutationSelector {
return false;
}
- if (VRI.RLAmt != EffRLAmt)
- return false;
-
- return true;
+ return VRI.RLAmt == EffRLAmt;
};
for (auto &BG : BitGroups) {