Check IR instead of assembly in this test.