Tomas Matheson

Results comments of Tomas Matheson

This series looks really good, thanks for working on it. Have all the tests been automatically converted or was it a manual process? How confident can we be that nothing...

Wasn't the fundamental criticism in #315 that FMV is about detection, not codegen? And therefore just because there is no codegen effect of an FMV feature doesn't mean it is...

Testing on a M1 Pro Macbook I see all tests passing with the original reproducer. I think this has been fixed. ```sh $ clang++ --version Apple clang version 14.0.0 (clang-1400.0.29.202)...

Looks like just a bad assert, fix here: https://reviews.llvm.org/D107363

Here is a slightly reduced reproducer, without the union: ```cpp extern __attribute__((__nothrow__)) int printf(const char *__restrict fmt, ...) __attribute__((__nonnull__(1))); extern __attribute__((__nothrow__)) int memcmp(const void *s1, const void *s2, unsigned long...

Please could you provide more information about the toolchain that you are using and how to reproduce this?

It doesn't look like the GCC documentation was ever updated to reflect this: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html At least, it is more ambiguous than the x86 docs: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

> Historically we added this code to AArch64DAGToDAGISel because TableGen patterns couldn't cope with multiple results. I'm not sure if anything has changed in TableGen to add such functionality, do...

Ah sorry, what I was actually talking about is having multiple output instructions with no data dependency between them. IIRC we can have multiple output results, or even multiple instructions...

Of course, you are right. I could not see why it mattered with such a reduced example, but any other memory ops before/after the monotonic load would be ordered by...