[PATCH] D147772: [NFC][GlobalISel] Add check for potentially dereferencing null return value

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 01:25:04 PDT 2023


yubing abandoned this revision.
yubing added a comment.

yeah i checked the code, you're right. getFConstantVRegValWithLookThrough's isFConstant ensure Reg is defined by TargetOpcode::G_FCONSTANT @Petar.Avramovic


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