projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c9e77
)
Fix shift printing when using a ubyte LHS
author
Chris Lattner
<sabre@nondot.org>
Sat, 20 Oct 2001 09:33:10 +0000
(09:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 20 Oct 2001 09:33:10 +0000
(09:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@925
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 20f2fe077f2ba6041f3ff72692419af66405b95e..13e01190808ea5c8081a833be79c097fd5ebb854 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-387,6
+387,9
@@
void AssemblyWriter::processInstruction(const Instruction *I) {
}
}
+ // Shift Left & Right print both types even for Ubyte LHS
+ if (isa<ShiftInst>(I)) PrintAllTypes = true;
+
if (!PrintAllTypes)
Out << " " << I->getOperand(0)->getType();