[PATCH] Fix flakiness in fp16-promote.ll
Pirama Arumuga Nainar
pirama at google.com
Mon Apr 20 10:28:16 PDT 2015
Hi mzolotukhin, srhines, ab,
In the f16-promote test, make the checks for native conversion instructions
similar to the libcall checks:
- Remove hard coded register names
- Do not check exact instruction sequences.
This fixes test flakiness due to non-determinism in instruction
scheduling and register allocation. I also fixed a few minor things in
the CHECK-LIBCALL checks.
I'll try to find a way to check that unnecessary loads, stores, or
conversions don't happen.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 35063 bytes
Desc: not available
More information about the llvm-commits