[PATCH] D67220: [ARM][ParallelDSP] Fix for sext input
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 12:36:22 PDT 2019
efriedma added inline comments.
================
Comment at: lib/Target/ARM/ARMParallelDSP.cpp:137
+ BasicBlock::iterator(Root));
+ V = Builder.CreateSExt(V, Root->getType());
+ }
----------------
Is this really the right place to do this? At this point, we still aren't sure we're going to transform the code. You could instead just do this after you call getAccumulator() in InsertParallelMACs.
================
Comment at: test/CodeGen/ARM/ParallelDSP/blocks.ll:1
-; RUN: opt -arm-parallel-dsp -mtriple=armv7-a -S %s -o - | FileCheck %s
+; RUN: opt -arm-parallel-dsp -dce -mtriple=armv7-a -S %s -o - | FileCheck %s
----------------
Why -dce?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67220/new/
https://reviews.llvm.org/D67220
More information about the llvm-commits
mailing list