[Attributor] Deal with address spaces gracefully
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 6 May 2021 15:21:16 +0000 (10:21 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Mon, 24 May 2021 04:00:39 +0000 (23:00 -0500)
commit4878d73419692dbac73d17ca293272d7b58bbae4
treeb89d34e17922f4534498382f1a61a817c2f38359
parent1ba2929bb82baa4f3b7e1314f166ef2bd6c5e6d0
[Attributor] Deal with address spaces gracefully

When we do value propagation we need to cast address spaces properly.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/value-simplify.ll