aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2016-12-21 01:41:12 +0000
committerSebastian Pop <sebpop@gmail.com>2016-12-21 01:41:12 +0000
commit77794843134ecfb62de53df934346815ba634481 (patch)
tree913378b4946074f29ca33384679fa2a5ce03be4b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent16d315085243f2fed77e386a8b4077accc1cde7a (diff)
downloadllvm-77794843134ecfb62de53df934346815ba634481.zip
llvm-77794843134ecfb62de53df934346815ba634481.tar.gz
llvm-77794843134ecfb62de53df934346815ba634481.tar.bz2
machine combiner: fix pretty printer
we used to print UNKNOWN instructions when the instruction to be printer was not yet inserted in any BB: in that case the pretty printer would not be able to compute a TII as the instruction does not belong to any BB or function yet. This patch explicitly passes the TII to the pretty-printer. Differential Revision: https://reviews.llvm.org/D27645 llvm-svn: 290228
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions