[all-commits] [llvm/llvm-project] bd1a4c: [ValueTracking] Teach isKnownNonZero that a vscale...
David Green via All-commits
all-commits at lists.llvm.org
Thu Jun 23 07:25:38 PDT 2022
Author: David Green <david.green at arm.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
[ValueTracking] Teach isKnownNonZero that a vscale is never 0.
A llvm.vscale will always be at least 1, never zero. Teaching that to
isKnownNonZero can help fold away some statically known compares.
Differential Revision: https://reviews.llvm.org/D128217
More information about the All-commits