mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Print types for all ret operands.
llvm-svn: 47911
This commit is contained in:
parent
844c248410
commit
a33f4b4cc7
@ -1417,7 +1417,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
const Type *TheType = Operand->getType();
|
||||
|
||||
// Select, Store and ShuffleVector always print all types.
|
||||
if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I)) {
|
||||
if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I)
|
||||
|| isa<ReturnInst>(I)) {
|
||||
PrintAllTypes = true;
|
||||
} else {
|
||||
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user