[clang] [flang] [flang] Add UNSIGNED (PR #113504)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 19 07:48:09 PST 2024


================
@@ -400,6 +400,69 @@ constexpr TypeBuilderFunc getModel<bool &>() {
     return fir::ReferenceType::get(f(context));
   };
 }
+template <>
+constexpr TypeBuilderFunc getModel<unsigned short>() {
+  return getModel<short>();
----------------
jeanPerier wrote:

Looks like this is "only" a lit test fallout (the generated FIR/LLVM IR is now different for 65 lit tests that test code that involve calling some runtime function with an unsigned argument). I agree it is best to fix that in a different PR (the behavior is already there).

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


More information about the cfe-commits mailing list