[llvm] [NFC][OpenMP] Update a test that was failing on aarch64. (PR #164456)

Abhinav Gaba via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 12:29:06 PDT 2025


abhinavgaba wrote:

That's interesting. The difference is that somehow on ARM, in addition to having the same difference as offset, the pointers have a difference of 0xffff in the top few bytes.

```
 printf("%p %p\n", (void*)187650335047609, (void*)-93820346695751 );
 // 0xaaaabf8fffb9 0xffffaaabbf8fffb9
```

Could you try one last time with HEAD commit? I would like to see if using `ptrdiff` helps. 
Otherwise I'll remove the comparison from the CHECK but leave the print of the value in. The test will soon need to be updated once the library fix is in anyway.

Thanks for your help!

https://github.com/llvm/llvm-project/pull/164456


More information about the llvm-commits mailing list