[PATCH] D147772: [NFC][GlobalISel] Add check for potentially dereferencing null return value
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 02:25:35 PDT 2023
Petar.Avramovic added a comment.
Is this some advanced compiler warning? It looks that assert can't trigger because of if (!Reg) and getConstantVRegValWithLookThrough already checked that Reg is defined by G_FCONSTANT via isFConstant
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147772/new/
https://reviews.llvm.org/D147772
More information about the llvm-commits
mailing list