projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d477e84
)
Try to unbreak the C++11 build
author
Hal Finkel
<hfinkel@anl.gov>
Fri, 28 Feb 2014 00:45:27 +0000
(
00:45
+0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Fri, 28 Feb 2014 00:45:27 +0000
(
00:45
+0000)
Cannot use negative numbers in case statements without running afoul of -Wc++11-narrowing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202455
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
b/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
index c1409737760f3b9e6590ff27348c81f8b55b87be..10e328a8116eeef1dabaf3bccf05e5614e40cf3a 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
@@
-52,8
+52,8
@@
namespace PPC {
// When dealing with individual condition-register bits, we have simple set
// and unset predicates.
- PRED_BIT_SET =
-1
,
- PRED_BIT_UNSET =
-2
+ PRED_BIT_SET =
1024
,
+ PRED_BIT_UNSET =
1025
};
/// Invert the specified predicate. != -> ==, < -> >=.