summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-06 06:25:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-06 06:25:46 +0000
commitbb59a90b7ac8b0a4a950d5c8286f5eb012e22cc8 (patch)
treed9a8552a06ac1b1eefc25fc744fe9ce7fac4c572 /llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
parent2bbc2a165dbdd3f66692bfb001e8135f5f9be42c (diff)
downloadbcm5719-llvm-bb59a90b7ac8b0a4a950d5c8286f5eb012e22cc8.tar.gz
bcm5719-llvm-bb59a90b7ac8b0a4a950d5c8286f5eb012e22cc8.zip
Regenerate.
llvm-svn: 32267
Diffstat (limited to 'llvm/tools/llvm-upgrade/UpgradeParser.y.cvs')
-rw-r--r--llvm/tools/llvm-upgrade/UpgradeParser.y.cvs4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
index fd1c293ec30..e5757c42638 100644
--- a/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
+++ b/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
@@ -23,7 +23,7 @@
#define YYERROR_VERBOSE 1
#define YYINCLUDED_STDLIB_H
#define YYDEBUG 1
-#define UPGRADE_SETCOND_OPS 0
+#define UPGRADE_SETCOND_OPS 1
int yylex(); // declaration" of xxx warnings.
int yyparse();
@@ -255,7 +255,7 @@ getCompareOp(const std::string& setcc, const TypeInfo& TI) {
result.erase(5,1);
else if (TI.isSigned())
result[5] = 's';
- else if (TI.isUnsigned() || TI.isPointer())
+ else if (TI.isUnsigned() || TI.isPointer() || TI.isBool())
result[5] = 'u';
else
yyerror("Invalid integral type for setcc");
OpenPOWER on IntegriCloud