[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls` running on `linaro-g3-02` while building `clang` at step 13 "test-suite". Full details are available at: https://lab.llvm.org/buildbot/#/builders/143/builds/1236 Here is the relevant piece of the build

[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-windows` running on `sanitizer-windows` while building `clang` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/107/builds/1553 Here is the relevant piece of the build lo

[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/101804 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Always evaluate LHS first, then RHS. --- Full diff: https://github.com/llvm/llvm-project/pull/101804.diff 4 Files Affected: - (modified) clang/lib/AST/Interp/Compiler.cpp (+17-7) - (modified) clang/lib/AS

[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/101804 Always evaluate LHS first, then RHS. >From b2295d98eb4c9b9810e4f380f4a768309765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 3 Aug 2024 11:31:38 +0200 Subject: [PATCH] [clang][In