[all-commits] [llvm/llvm-project] ff91b2: [X86] Promote i16 CTTZ/CTTZ_ZERO_UNDEF always.
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Aug 3 13:12:34 PDT 2022
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
[X86] Promote i16 CTTZ/CTTZ_ZERO_UNDEF always.
If we're going to emit a rep prefix before bsf as proposed in
D130956, it makes sense to promote i16 operations to i32 to avoid
the false depedency of tzcntw.
Reviewed By: skan, pengfei
Differential Revision: https://reviews.llvm.org/D130995
More information about the All-commits