This patch stops the sadd_sat and uadd_sat intrinsics from blocking tail predication.
Details
Diff Detail
Event Timeline
llvm/lib/Target/ARM/MVETailPredication.cpp | ||
---|---|---|
356 | Do we expect more intrinsics to be allowed after these 2? For example, if we allow sadd, can we allow ssub too? And then while we are add it, add the ssubs too? |
llvm/lib/Target/ARM/MVETailPredication.cpp | ||
---|---|---|
356 | Can you give this a clang-format? The line is a bit long. We might end up with quite a few of these too. It might make sense to add a switch on Int->getIntrinsicID() once this gets large enough. | |
llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-intrinsic-uadd.ll | ||
3 | You can remove dso_local and local_unnamed_addr. I would also make the two tests one file to keep them together, but up to you if you want to keep them separate. |
llvm/lib/Target/ARM/MVETailPredication.cpp | ||
---|---|---|
356 | +1 for switch |
clang-format: please reformat the code