[PATCH] D116042: [AMDGPU][InstCombine] Remove zero LOD bias
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 20 07:55:58 PST 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:4455
+ m_GFCst(ConstantBias))) {
+ if (ConstantBias->isZero() || ConstantBias->isNegative()) {
+ // Set new opcode to _lz variant of _l, and change the intrinsic ID.
----------------
The DAG version doesn't have the isNegative check?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116042/new/
https://reviews.llvm.org/D116042
More information about the llvm-commits
mailing list