[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Jul 16 05:05:14 PDT 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.59 -> 1.60
---
Log message:
Use newly added convinience constructor.
---
Diffs of the changes: (+1 -4)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.59 llvm-java/lib/Compiler/Compiler.cpp:1.60
--- llvm-java/lib/Compiler/Compiler.cpp:1.59 Wed Jul 14 04:53:54 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Fri Jul 16 07:05:04 2004
@@ -633,13 +633,10 @@
c = BinaryOperator::createSetLT(v1, v2, TMP, getBBAt(bcI));
r = new SelectInst(c, ConstantSInt::get(Type::IntTy, -1), r, TMP,
getBBAt(bcI));
- std::vector<Value*> params;
- params.push_back(v1);
- params.push_back(v2);
c = new CallInst(module_->getOrInsertFunction
("llvm.isunordered",
Type::BoolTy, v1->getType(), v2->getType(), 0),
- params, TMP, getBBAt(bcI));
+ v1, v2, TMP, getBBAt(bcI));
r = new SelectInst(c,
ConstantSInt::get(Type::IntTy, valueIfUnordered),
r, TMP, getBBAt(bcI));
More information about the llvm-commits
mailing list