[PATCH] D95630: [flang][fir] Remove references to code to be removed.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 10:04:59 PST 2021


mehdi_amini added inline comments.


================
Comment at: flang/lib/Lower/CharacterExpr.cpp:358
   builder.setInsertionPointToStart(iterWhile.getBody());
   auto index = iterWhile.getInductionVar();
   // Look for first non-blank from the right of the character.
----------------
I'm confused, isn't this code gonna crash now? `iterWhile` was referring to an op created but not you just have a null value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95630/new/

https://reviews.llvm.org/D95630



More information about the llvm-commits mailing list