[PATCH] D27283: Fix invalid addrspacecast due to combining alloca with global var
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 12:31:27 PST 2016
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:2141-2142
// global <-> flat are no-ops and never emitted.
+ DEBUG(dbgs() << "Invalid addrspacecast:\n";
+ ASC->dump());
----------------
yaxunl wrote:
> arsenm wrote:
> > This should be removed
> I can keep it to myself but without this debug output it is much difficult to debug the "invalid addrspacecast" issue.
It already produces an error here which is easy to track down
https://reviews.llvm.org/D27283
More information about the llvm-commits
mailing list