projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use CmpInst::Predicate instead of 'unsigned short' in some places. NFC
[oota-llvm.git]
/
tools
/
llvm-stress
/
llvm-stress.cpp
diff --git
a/tools/llvm-stress/llvm-stress.cpp
b/tools/llvm-stress/llvm-stress.cpp
index 86ac269bb0a212868387a96137ab541020a9ea3c..99d2afdcd3012515a37e6b34c49a70bee7b1f728 100644
(file)
--- a/
tools/llvm-stress/llvm-stress.cpp
+++ b/
tools/llvm-stress/llvm-stress.cpp
@@
-612,7
+612,8
@@
struct CmpModifier: public Modifier {
}
Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
- op, Val0, Val1, "Cmp", BB->getTerminator());
+ (CmpInst::Predicate)op, Val0, Val1, "Cmp",
+ BB->getTerminator());
return PT->push_back(V);
}
};