projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests for the 'x' operation.
[oota-llvm.git]
/
utils
/
TableGen
/
CodeEmitterGen.cpp
diff --git
a/utils/TableGen/CodeEmitterGen.cpp
b/utils/TableGen/CodeEmitterGen.cpp
index bcca15cd57e0292f5a651531bba2d81e53a43c5c..c94d384901f0c21d02081448c1df5c9f3fe30a23 100644
(file)
--- a/
utils/TableGen/CodeEmitterGen.cpp
+++ b/
utils/TableGen/CodeEmitterGen.cpp
@@
-14,10
+14,10
@@
//===----------------------------------------------------------------------===//
#include "CodeGenTarget.h"
//===----------------------------------------------------------------------===//
#include "CodeGenTarget.h"
-#include "llvm/TableGen/Record.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
+#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
#include <map>
#include <string>
#include "llvm/TableGen/TableGenBackend.h"
#include <map>
#include <string>
@@
-140,9
+140,7
@@
AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName,
while (NumberedOp < NumberOps &&
CGI.Operands.isFlatOperandNotEmitted(NumberedOp))
++NumberedOp;
while (NumberedOp < NumberOps &&
CGI.Operands.isFlatOperandNotEmitted(NumberedOp))
++NumberedOp;
- // If this operand has not been found, ignore it.
- if (NumberedOp >= NumberOps)
- return;
+
OpIdx = NumberedOp++;
}
OpIdx = NumberedOp++;
}