[infer-address-spaces] Handle complex non-pointer constexpr arguments.
authorArtem Belevich <tra@google.com>
Thu, 15 Jul 2021 20:39:47 +0000 (13:39 -0700)
committerArtem Belevich <tra@google.com>
Mon, 19 Jul 2021 19:15:52 +0000 (12:15 -0700)
commitb988d69ea2864a1bdf9789f930ecf7f41d109653
tree64e5fb52cd8584e0d4865ea34243eae96f7cfdc9
parent408f2b8b01a32219ecdc5b1c41cac0ec2daa8c4c
[infer-address-spaces] Handle complex non-pointer constexpr arguments.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51099

Differential Revision: https://reviews.llvm.org/D106098
llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
llvm/test/Transforms/InferAddressSpaces/NVPTX/clone_constexpr.ll