[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 9 09:45:16 PST 2005



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.169 -> 1.170
---
Log message:

Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll


---
Diffs of the changes:  (+1 -1)

 AsmWriter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.169 llvm/lib/VMCore/AsmWriter.cpp:1.170
--- llvm/lib/VMCore/AsmWriter.cpp:1.169	Mon Jan 31 19:24:01 2005
+++ llvm/lib/VMCore/AsmWriter.cpp	Wed Feb  9 11:45:03 2005
@@ -1161,7 +1161,7 @@
 
     // Shift Left & Right print both types even for Ubyte LHS, and select prints
     // types even if all operands are bools.
-    if (isa<ShiftInst>(I) || isa<SelectInst>(I)) {
+    if (isa<ShiftInst>(I) || isa<SelectInst>(I) || isa<StoreInst>(I)) {
       PrintAllTypes = true;
     } else {
       for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {






More information about the llvm-commits mailing list