[PATCH] D51795: AMDGPU: Don't error on calls to constexpr casts of functions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 23:20:38 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D51795#1227811, @scott.linder wrote:

> I still don't understand exactly when a call is indirect, but when an argument is cast this still seems to fail:


If the function pointer is a variable, not a constant. Your example works for me with this patch


https://reviews.llvm.org/D51795





More information about the llvm-commits mailing list