[clang] [X86]Add support for _outp{|w|d} (PR #93774)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 22:29:12 PDT 2024


================
@@ -63,6 +63,91 @@ unsigned __int64 test__emulu(unsigned int a, unsigned int b) {
 // CHECK: [[RES:%[0-9]+]] = mul nuw i64 [[Y]], [[X]]
 // CHECK: ret i64 [[RES]]
 
+//
+// CHECK-I386-LABEL: define dso_local noundef i32 @test_outp(
+// CHECK-I386-SAME: i16 noundef zeroext [[PORT:%.*]], i32 noundef returned [[DATA:%.*]]) local_unnamed_addr #[[ATTR2:[0-9]+]] {
+// CHECK-I386-NEXT:  [[ENTRY:.*:]]
----------------
phoebewang wrote:

ditto.

https://github.com/llvm/llvm-project/pull/93774


More information about the cfe-commits mailing list