[all-commits] [llvm/llvm-project] 1594ce: [mlir][EmitC] Fix evaluation order of expressions ...
Simon Camphausen via All-commits
all-commits at lists.llvm.org
Wed May 29 02:42:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1594cebedd60a08f408e3fa975116ef4db86bf9b
https://github.com/llvm/llvm-project/commit/1594cebedd60a08f408e3fa975116ef4db86bf9b
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][EmitC] Fix evaluation order of expressions (#93549)
Expressions with the same precedence were not parenthesized and
therefore were possibly evaluated in the wrong order depending on the
shape of the expression tree.
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Corentin Ferry <corentin.ferry at amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list