[PATCH] Fix assert with copy from global through addrspacecast

Matt Arsenault Matthew.Arsenault at amd.com
Fri Dec 6 16:27:31 PST 2013


  The problem is passing in something that isn't a pointer that you didn't mean to. Generally doing whatever it takes to convert types isn't desirable. If you're expecting to get a pointer-only cast like addrspacecast, you probably don't want an integer to be passed in.

http://llvm-reviews.chandlerc.com/D2205



More information about the llvm-commits mailing list