summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2019-04-16 21:04:34 +0000
committerNick Desaulniers <ndesaulniers@google.com>2019-04-16 21:04:34 +0000
commit3271ca01fe03ba50c26304a18c1008c3ae8b5521 (patch)
tree5b92b121561adf078d2e521ffe2e463b228a20ab /llvm/lib/Transforms
parente5573f4f4ebacee988664f4096aef15ce378b66d (diff)
downloadbcm5719-llvm-3271ca01fe03ba50c26304a18c1008c3ae8b5521.tar.gz
bcm5719-llvm-3271ca01fe03ba50c26304a18c1008c3ae8b5521.zip
[NVPTXAsmPrinter] clean up dead code. NFC
Summary: The printOperand function takes a default parameter, for which there are zero call sites that explicitly pass such a parameter. As such, there is no case to support. This means that the method printVecModifiedImmediate is purly dead code, and can be removed. The eventual goal for some of these AsmPrinter refactoring is to have printOperand be a virtual method; making it easier to print operands from the base class for more generic Asm printing. It will help if all printOperand methods have the same function signature (ie. no Modifier argument when not needed). Reviewers: echristo, tra Reviewed By: echristo Subscribers: jholewinski, hiraditya, llvm-commits, craig.topper, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D60727 llvm-svn: 358527
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud