[PATCH] D34921: [ConstantHoisting] Remove dupliate logic in constant hoisting

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 16:51:46 PDT 2017


efriedma added inline comments.


================
Comment at: lib/Transforms/Scalar/ConstantHoisting.cpp:399
     if (isa<InlineAsm>(Call->getCalledValue()))
       return;
 
----------------
Should canReplaceOperandWithVariable be checking for inline asm?


https://reviews.llvm.org/D34921





More information about the llvm-commits mailing list