[PATCH] D58363: Bugfix for nullptr check by klocwork
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 18 18:35:27 PST 2019
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86InstructionSelector.cpp:1606
+ return false;
+ const RegisterBank &RegRB = *PtrRegRB;
if (RegRB.getID() != X86::GPRRegBankID)
----------------
Get rid of this reference variable and just use the pointer with an -> below. Rename it back to RegRB.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58363/new/
https://reviews.llvm.org/D58363
More information about the llvm-commits
mailing list