fhahn wrote: Could you split off the new tests in a separate PR so we can only see the test changes here? Also would probably be good to have at least some target specific tests to check cost modeling https://github.com/llvm/llvm-project/pull/89226