This was resulting in the addrspacecast being removed and incorrectly replaced with a ptrtoint when sinking.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I was wondering if this is the right place for the test, since there doesn't seem to be any checking for the built targets. I'm not sure what to do other than duplicate the test for the no-op addrspacecast and non-noop addrspacecast cases
Comment Actions
Yea; probably best to create a target-specific subdirectory (with an associated lit.local.cfg file) just like we have for test/Transforms/LoopVectorize.
Comment Actions
Should I create an R600_X86 subdirectory or something like that that checks both targets? Or would duplicating be better?
Comment Actions
r238217. Just moved test into R600 subdirectory because it turns out there was already an X86 test testing the no-op path