r239737 - This patch implements clang support for the ACLE special register intrinsics

Renato Golin renato.golin at linaro.org
Mon Jun 15 13:36:27 PDT 2015


On 15 June 2015 at 18:51, Luke Cheeseman <luke.cheeseman at arm.com> wrote:
> Author: lukecheeseman
> Date: Mon Jun 15 12:51:01 2015
> New Revision: 239737
>
> URL: http://llvm.org/viewvc/llvm-project?rev=239737&view=rev
> Log:
> This patch implements clang support for the ACLE special register intrinsics
> in section 10.1, __arm_{w,r}sr{,p,64}.

Oops, we missed one...

http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/5542/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Aarm_acle.c

// AArch32: call void @llvm.write_register.i32(metadata !5, i32 %1)
<stdin>:465:7: note: possible intended match here
 tail call void @llvm.write_register.i32(metadata !5, i32 %0)

Either change it to a wildcard {{.*}} or create a variable if you need it later.

Also, have a look around for more cases where this may be problematic
in the future.

cheers,
--renato



More information about the cfe-commits mailing list