diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-09 17:45:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-09 17:45:03 +0000 |
commit | 159485ff1bd18b13c41153dcc55d709f6a381d07 (patch) | |
tree | 02286bc335db107a70f859a0f379d8b760ddf313 | |
parent | 60fb167b6ee577c7e503eca491defa1e13737e5e (diff) | |
download | bcm5719-llvm-159485ff1bd18b13c41153dcc55d709f6a381d07.tar.gz bcm5719-llvm-159485ff1bd18b13c41153dcc55d709f6a381d07.zip |
Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll
llvm-svn: 20089
-rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index cf937eb6919..5406c833a22 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -1161,7 +1161,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // 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) { |