[llvm-commits] [llvm] r51897 - /llvm/trunk/lib/CodeGen/AsmPrinter.cpp
Scott Michel
scottm at aero.org
Mon Jun 2 23:18:20 PDT 2008
Author: pingbak
Date: Tue Jun 3 01:18:19 2008
New Revision: 51897
URL: http://llvm.org/viewvc/llvm-project?rev=51897&view=rev
Log:
Revert this patch
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter.cpp?rev=51897&r1=51896&r2=51897&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter.cpp Tue Jun 3 01:18:19 2008
@@ -742,9 +742,7 @@
if (CV->isNullValue() || isa<UndefValue>(CV))
O << "0";
else if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
- O << CI->getZExtValue() << "\t\t\t"
- << TAI->getCommentString() << " 0x"
- << CI->getValue().toStringUnsigned(16);
+ O << CI->getZExtValue();
} else if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) {
// This is a constant address for a global variable or function. Use the
// name of the variable or function as the address value, possibly
More information about the llvm-commits
mailing list