[PATCH] D125627: [SCEV] Serialize function calls in function arguments.
NAKAMURA Takumi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 15 05:07:01 PDT 2022
chapuni created this revision.
Herald added subscribers: javed.absar, hiraditya.
Herald added a project: All.
chapuni requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Evaluation odering in function call arguments is implementation-dependent.
In fact, gcc evaluates bottom-top and clang does top-bottom.
I confirmed, with this change, that every getSCEV() is called idetically
between clang and gcc in the compilation of the LLVM tree.
Fixes #55283
FIXME: I didn't fix all of the matter.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125627
Files:
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125627.429527.patch
Type: text/x-patch
Size: 20674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/0fbe02b6/attachment.bin>
More information about the llvm-commits
mailing list