[Utils] Use NoAliasScopeDeclInst in a few more places (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 24 Jan 2021 15:22:09 +0000 (16:22 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 24 Jan 2021 15:24:11 +0000 (16:24 +0100)
commit8b9df70bf7e7b812715a3dc9772719188e0df06c
tree99ea2f8160153b9211bb68401bc69b1d4ffb137e
parent4cc94b731345aa494e0e364846ba9550f5dd5105
[Utils] Use NoAliasScopeDeclInst in a few more places (NFC)

In the cloning infrastructure, only track an MDNode mapping,
without explicitly storing the Metadata mapping, same as is done
during inlining. This makes things slightly simpler.
llvm/include/llvm/IR/IntrinsicInst.h
llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
llvm/lib/Transforms/Utils/LoopUnroll.cpp