Please review: Optimize vector multiply on X86
Jakub Staszak
kubastaszak at gmail.com
Sun Jun 16 06:16:24 PDT 2013
You just should use cast<> instead of dyn_cast<>. dyn_cast<> isn't free even in Release code. Also cast<> does the check in Debug code.
- Kuba
On Jun 16, 2013, at 3:00 PM, "Demikhovsky, Elena" <elena.demikhovsky at intel.com> wrote:
> N1C = dyn_cast<ConstantSDNode>(N1.getOperand(0)); <<= at this point I know that N1 is constant, I can add assert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130616/8f850f7d/attachment.html>
More information about the llvm-commits
mailing list