summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-11 01:01:55 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-11 01:01:55 +0000
commit6d775a276ac2ea6f9e9def2be0d670e7b12cb586 (patch)
treeb21e4f58ad4ee800f28b954c958dd8fd7cef56b6 /llvm
parentc1c681c948a1424ba9ca5205c805ca7b3e56f875 (diff)
downloadbcm5719-llvm-6d775a276ac2ea6f9e9def2be0d670e7b12cb586.tar.gz
bcm5719-llvm-6d775a276ac2ea6f9e9def2be0d670e7b12cb586.zip
[TableGen] Fix some bad formatting. NFC
llvm-svn: 336751
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/DAGISelMatcherGen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcherGen.cpp b/llvm/utils/TableGen/DAGISelMatcherGen.cpp
index 29f1adf4a4f..0bcd19b9819 100644
--- a/llvm/utils/TableGen/DAGISelMatcherGen.cpp
+++ b/llvm/utils/TableGen/DAGISelMatcherGen.cpp
@@ -734,10 +734,10 @@ EmitResultInstructionAsOperand(const TreePatternNode *N,
// Instructions which load and store from memory should have a chain,
// regardless of whether they happen to have an internal pattern saying so.
- if (Pattern.getSrcPattern()->TreeHasProperty(SDNPHasChain, CGP)
- && (II.hasCtrlDep || II.mayLoad || II.mayStore || II.canFoldAsLoad ||
- II.hasSideEffects))
- NodeHasChain = true;
+ if (Pattern.getSrcPattern()->TreeHasProperty(SDNPHasChain, CGP) &&
+ (II.hasCtrlDep || II.mayLoad || II.mayStore || II.canFoldAsLoad ||
+ II.hasSideEffects))
+ NodeHasChain = true;
bool isRoot = N == Pattern.getDstPattern();
OpenPOWER on IntegriCloud