[all-commits] [llvm/llvm-project] cd4348: [VPlan] Sink cases where no truncate is needed in ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Dec 4 07:36:25 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd4348349a9dae6d61a3f7db0cb8d2ba2c0ad1c3
https://github.com/llvm/llvm-project/commit/cd4348349a9dae6d61a3f7db0cb8d2ba2c0ad1c3
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/deterministic-type-shrinkage.ll
Log Message:
-----------
[VPlan] Sink cases where no truncate is needed in truncateMinimalBWs.
MinBWs contains entries that specify the minimum required bitwidth. In
some cases, the old and new bitwidths can be equal (see test case) and
in those cases no truncations are needed, so skip those cases.
Fixes #74307.
More information about the All-commits
mailing list