[PATCH] D146064: [SimplifyLibCalls] Return Value from optimizeSinCosPi when making change
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 09:44:12 PDT 2023
aeubanks created this revision.
aeubanks added reviewers: spatel, nikic.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Or else InstCombine can incorrectly report that no change has been made.
This optimization doesn't really fit into InstCombine since it optimizes multiple instructions at once; there's likely a more comprehensive fix.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146064
Files:
llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/sincospi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146064.505144.patch
Type: text/x-patch
Size: 8117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230314/696913a2/attachment.bin>
More information about the llvm-commits
mailing list