[PATCH] D117450: [LoopInterchange] Support loop interchange with floating point reductions
Congzhe Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 16 20:50:31 PST 2022
congzhe created this revision.
congzhe added reviewers: bmahjour, Whitney, LoopOptWG.
congzhe added a project: LoopOptWG.
Herald added a subscriber: hiraditya.
congzhe requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Enabled loop interchang support for floating point reductions if fastmath is enabled.
Previously when we encouter a floating point PHI node in the outer loop exit block, we bailed out since we could not detect floating point reductions in the early days. Now we remove this limiation since we are able to detect floating point reductions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117450
Files:
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
llvm/test/Transforms/LoopInterchange/lcssa.ll
llvm/test/Transforms/LoopInterchange/reductions-across-inner-and-outer-loop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117450.400427.patch
Type: text/x-patch
Size: 7782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220117/0b60bd28/attachment.bin>
More information about the llvm-commits
mailing list