[llvm] r336751 - [TableGen] Fix some bad formatting. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 18:01:55 PDT 2018
Author: ctopper
Date: Tue Jul 10 18:01:55 2018
New Revision: 336751
URL: http://llvm.org/viewvc/llvm-project?rev=336751&view=rev
Log:
[TableGen] Fix some bad formatting. NFC
Modified:
llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp
Modified: llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp?rev=336751&r1=336750&r2=336751&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp (original)
+++ llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp Tue Jul 10 18:01:55 2018
@@ -734,10 +734,10 @@ EmitResultInstructionAsOperand(const Tre
// 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();
More information about the llvm-commits
mailing list