arichardson added a comment.

In https://reviews.llvm.org/D44093#1063679, @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.


Repository:
  rC Clang

https://reviews.llvm.org/D44093



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to