projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added name-mangling routines for future use.
[oota-llvm.git]
/
lib
/
VMCore
/
AsmWriter.cpp
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();