[flang-commits] [flang] 24f3d55 - [flang] Keep ifdef macro for INT128
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Wed Mar 16 11:11:35 PDT 2022
Author: Valentin Clement
Date: 2022-03-16T19:11:01+01:00
New Revision: 24f3d55a5aee57f4c53da70fdf266c147512b831
URL: https://github.com/llvm/llvm-project/commit/24f3d55a5aee57f4c53da70fdf266c147512b831
DIFF: https://github.com/llvm/llvm-project/commit/24f3d55a5aee57f4c53da70fdf266c147512b831.diff
LOG: [flang] Keep ifdef macro for INT128
This was wrongly removed in 9aeb7f035bdde83501e5eddd9e6ad175b8ed697f
and makes buildbot fail.
Added:
Modified:
flang/lib/Lower/IO.cpp
Removed:
################################################################################
diff --git a/flang/lib/Lower/IO.cpp b/flang/lib/Lower/IO.cpp
index 68ef2f7822a68..fc95e1146ee39 100644
--- a/flang/lib/Lower/IO.cpp
+++ b/flang/lib/Lower/IO.cpp
@@ -420,8 +420,10 @@ static mlir::FuncOp getOutputFunc(mlir::Location loc,
return getIORuntimeFunc<mkIOKey(OutputInteger32)>(loc, builder);
case 64:
return getIORuntimeFunc<mkIOKey(OutputInteger64)>(loc, builder);
+#ifdef __SIZEOF_INT128__
case 128:
return getIORuntimeFunc<mkIOKey(OutputInteger128)>(loc, builder);
+#endif
}
llvm_unreachable("unknown OutputInteger kind");
}
More information about the flang-commits
mailing list