arichardson added a comment.

In, @paulsemel wrote:

> Ok, I found the problem. In fact the size of `long` is 4 bytes on your 
> machine, but 8 bytes on mine.
>  This makes this `// CHECK: [[LOAD1:%[0-9]+]] = load i64, i64* [[RES1]],` 
> fail.
>  Do you know a smart way to do it without dealing with type sizes ?

You should probably run the test with `-triple=x86_64-unknown-linux` (or 
whatever the triple for your host machine happens to be). Otherwise they depend 
on the default clang triple which could have a different size long.

  rC Clang

cfe-commits mailing list

Reply via email to