We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6b5c4f + 6562101 commit 1af596eCopy full SHA for 1af596e
test/IRGen/abi_v7k.swift
@@ -212,7 +212,7 @@ func testMultiP(x: MultiPayload) -> Double {
212
213
// CHECK-LABEL: define hidden swiftcc float @"$s8test_v7k0A3Opt{{.*}}"(i32 %0, i8 %1)
214
// CHECK: entry:
215
-// CHECK: [[TR:%.*]] = trunc i8 %1
+// CHECK: [[TR:%.*]] = icmp eq i8 %1, 1
216
// CHECK: br i1 [[TR]], {{.*}}, label %[[PAYLOADLABEL:.*]]
217
// CHECK: [[PAYLOADLABEL]]:
218
// CHECK: [[ID:%[0-9]+]] = bitcast i32 %0 to float
0 commit comments