[llvm] [RISCV][ISel] Combine vector fadd/fsub/fmul with fp extend. (PR #81248)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 21:55:25 PST 2024


================
@@ -13292,12 +13292,15 @@ namespace {
 // apply a combine.
 struct CombineResult;
 
+enum ExtKind : uint8_t { ZExt = 1 << 0, SExt = 1 << 1, FPExt = 1 << 2 };
----------------
lukel97 wrote:

Does this need to be a bitmask? I presume an extend can only be one kind at a time

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


More information about the llvm-commits mailing list