[llvm] [GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (PR #155107)

Ryan Cowan via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 27 05:01:23 PST 2025


================
@@ -23,6 +24,11 @@ STATISTIC(NumPatternEmitted, "Number of patterns emitted");
 using namespace llvm;
 using namespace gi;
 
+static cl::opt<bool>
+    AllowExtendedLLT("gisel-extended-llt",
----------------
HolyMolyCowMan wrote:

You can enable the extended types in TableGen by adding the `-gisel-extended-llt` to the cmake that invokes it.

For example in the AArch64 backend, it can be enabled by changing `tablegen(LLVM AArch64GenGlobalISel.inc -gen-global-isel)` to `tablegen(LLVM AArch64GenGlobalISel.inc -gen-global-isel -gisel-extended-llt)` in `llvm/lib/Target/AArch64/CMakeLists.txt`. It may be different for other backends but that's how I understand it.

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


More information about the llvm-commits mailing list