[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Misha Brukman
brukman at cs.uiuc.edu
Mon Mar 21 11:22:25 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.123 -> 1.124
---
Log message:
We may be adding functions to the Module during initialization, so
conservatively, it's modified
---
Diffs of the changes: (+2 -2)
PPC32ISelSimple.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.123 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.124
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.123 Mon Mar 14 22:54:19 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Mon Mar 21 13:22:14 2005
@@ -109,7 +109,7 @@
Target(tgt), Insert(ins), Shift(s), MB(b), ME(e) {}
};
- // External functions used in the Module
+ // External functions we may use in compiling the Module
Function *fmodfFn, *fmodFn, *__cmpdi2Fn, *__moddi3Fn, *__divdi3Fn,
*__umoddi3Fn, *__udivdi3Fn, *__fixsfdiFn, *__fixdfdiFn, *__fixunssfdiFn,
*__fixunsdfdiFn, *__floatdisfFn, *__floatdidfFn, *mallocFn, *freeFn;
@@ -182,7 +182,7 @@
mallocFn = M.getOrInsertFunction("malloc", voidPtr, Type::UIntTy, 0);
// void free(void*)
freeFn = M.getOrInsertFunction("free", Type::VoidTy, voidPtr, 0);
- return false;
+ return true;
}
/// runOnFunction - Top level implementation of instruction selection for
More information about the llvm-commits
mailing list