[llvm] [VectorCombine] Fold reduce(trunc(x)) -> trunc(reduce(x)) iff cost effective (PR #81852)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 02:56:30 PST 2024
================
@@ -29,6 +29,7 @@
#include "llvm/IR/PatternMatch.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Transforms/Utils/Local.h"
+#include "llvm/Transforms/Utils/LoopUtils.h"
----------------
nikic wrote:
getArithmeticReductionInstruction() is defined there.
https://github.com/llvm/llvm-project/pull/81852
More information about the llvm-commits
mailing list