aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorWhitney Tsang <whitneyt@ca.ibm.com>2020-01-23 20:11:28 +0000
committerWhitney Tsang <whitneyt@ca.ibm.com>2020-01-27 15:42:13 +0000
commit2b335e9aae857b63300c70435cde585c73760690 (patch)
tree31c41f79ca60e25a436728c1cee0971ebeabe04a /clang/lib/CodeGen/CodeGenModule.h
parentc963b5fbd61ad1407dda1b1e5bb87dc0fc207266 (diff)
downloadllvm-2b335e9aae857b63300c70435cde585c73760690.zip
llvm-2b335e9aae857b63300c70435cde585c73760690.tar.gz
llvm-2b335e9aae857b63300c70435cde585c73760690.tar.bz2
[LoopUnroll] Remove remapInstruction().
Summary: LoopUnroll can reuse the RemapInstruction() in ValueMapper, or remapInstructionsInBlocks() in CloneFunction, depending on the needs. There is no need to have its own version in LoopUnroll. By calling RemapInstruction() without TypeMapper or Materializer and with Flags (RF_NoModuleLevelChanges | RF_IgnoreMissingLocals), it does the same as remapInstruction(). remapInstructionsInBlocks() calls RemapInstruction() exactly as described. Looking at the history, I cannot find any obvious reason to have its own version. Reviewer: dmgreen, jdoerfert, Meinersbur, kbarton, bmahjour, etiotto, foad, aprantl Reviewed By: jdoerfert Subscribers: hiraditya, zzheng, llvm-commits, prithayan, anhtuyen Tag: LLVM Differential Revision: https://reviews.llvm.org/D73277
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions