llvm.org GIT mirror llvm / 1d16702
Fix llvm-dis to print the inalloca bit on allocas. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200059 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 6 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
19441944 } else if (const AllocaInst *AI = dyn_cast(&I)) {
19451945 Out << ' ';
19461946 TypePrinter.print(AI->getAllocatedType(), Out);
1947 if (AI->isUsedWithInAlloca())
1948 Out << ", inalloca";
19471949 if (!AI->getArraySize() || AI->isArrayAllocation()) {
19481950 Out << ", ";
19491951 writeOperand(AI->getArraySize(), true);