[flang-commits] [flang] [flang]: This is to fix the HLFIR path for PPC Vector type intrinsics. (PR #66547)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Sep 18 09:08:48 PDT 2023


================
@@ -165,7 +170,7 @@ inline bool isa_char(mlir::Type t) { return t.isa<fir::CharacterType>(); }
 /// Is `t` a trivial intrinsic type? CHARACTER is <em>excluded</em> because it
 /// is a dependent type.
 inline bool isa_trivial(mlir::Type t) {
-  return isa_integer(t) || isa_real(t) || isa_complex(t) ||
+  return isa_integer(t) || isa_real(t) || isa_complex(t) || isa_vector(t) ||
----------------
tblah wrote:

Thank you for explaining. +1 from me.

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


More information about the flang-commits mailing list