================ @@ -63,6 +63,82 @@ unsigned __int64 test__emulu(unsigned int a, unsigned int b) { // CHECK: [[RES:%[0-9]+]] = mul nuw i64 [[Y]], [[X]] // CHECK: ret i64 [[RES]] + +int test_inp(unsigned short port) { + return _inp(port); +} +// CHECK-I386-LABEL: define dso_local i32 @test_inp( +// CHECK-I386-SAME: i16 noundef zeroext [[PORT:%.*]]) ---------------- MalaySanghi wrote:
No, I had tried that. A variable (PORT in this case) is not allowed in CHECK-LABEL https://github.com/llvm/llvm-project/pull/93804 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits