[llvm] GlobalISel/Combiner: Fix building G_CONSTANT for fp extended LLT (PR #196397)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 08:01:06 PDT 2026


petar-avramovic wrote:

> G_TRUNC is one of the ones that maybe should be limited to integer types.

Oh no, I used ` f16 = G_TRUNC i32` as legal instruction on older targets. Any alternatives then?



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


More information about the llvm-commits mailing list