[llvm] r238217 - CodeGenPrepare: Don't match addressing modes through addrspacecast

Renato Golin renato.golin at linaro.org
Tue May 26 11:48:00 PDT 2015


On 26 May 2015 at 17:59, Matt Arsenault <Matthew.Arsenault at amd.com> wrote:
> Author: arsenm
> Date: Tue May 26 11:59:43 2015
> New Revision: 238217
>
> URL: http://llvm.org/viewvc/llvm-project?rev=238217&view=rev
> Log:
> CodeGenPrepare: Don't match addressing modes through addrspacecast
>
> This was resulting in the addrspacecast being removed and incorrectly
> replaced with a ptrtoint when sinking.

Hi Matt,

Is this R600 specific?

I'm getting this with just your patch:

http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/1127

Normally, I'd say they're unrelated, but address casting change and
address sanitizer may correlate.

cheers,
--renato



More information about the llvm-commits mailing list