[PATCH] D37902: [CodeExtractor] Fix multiple bugs under certain shape of extracted region
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 10:23:31 PDT 2017
kuhar added inline comments.
================
Comment at: lib/Transforms/Utils/CodeExtractor.cpp:538
+ // Store to argument right after the definition of output value
+ Instruction* OutI = dyn_cast<Instruction>(outputs[i]);
+ if(!OutI) continue;
----------------
You can use auto here, as the type is obvious looking at the right hand side.
https://reviews.llvm.org/D37902
More information about the llvm-commits
mailing list