[libc-commits] [libc] Revert "[libc][test] Align custom matchers with GoogleMock" (PR #241124)

Kewen Meng via libc-commits libc-commits at lists.llvm.org
Thu Nov 12 19:04:48 PST 2026


Kewen12 wrote:

> Hi @Kewen12, Reverting to green is good, but the GPU platforms are difficult for some people to access and test. Could you provide more information on what caused the failure and what needs to be done to reland this change without breaking the GPU targets? Thanks!

Thanks for the comment @michaelrj-google. Sorry I didn't get change to add more details in the revert.


In my local repros, the crash produces with the PR and goes away when reverted. The 10 tests are built without issue but crash at GPU runtime for the error:
```
OFFLOAD ERROR: memory access fault by GPU 1 (agent ...) at virtual address (nil). Reasons: Unknown (0)

```
- No assertion fails before the crash;
- Not all the test cases fail. For example in `fromfpbf16_test` only `RoundedNumbersWithinRange` crashes;
- I tried to run with larger stack size (LIBOMPTARGET_STACK_SIZE=65536) but still saw the crash.

Since the PR inlined error messages that increased the generated code (e.g. RoundedNumbersWithinRange became ~180KB), I suspect it might potentially trigger some problems. I will take a deeper look tomorrow to see if I can find more.






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


More information about the libc-commits mailing list