[llvm-branch-commits] [Clang] Enable lit internal shell by default (PR #158465)

2025-09-14 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/158465 Now that all of the clang tests have been verified (and adjusted when necessary) to work with lit's internal shell, we can enable it by default, which this patch does. This should make check-clang 10-15%

[llvm-branch-commits] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

2025-09-14 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/158464 Before this change, rm would assume that a symlink to a directory was actually a directory and require the recursive flag to be passed, differing from other shells. Given the change in lit is about the sam

[llvm-branch-commits] [Clang] Make rewrite-includes-bom.c work with internal shell (PR #158463)

2025-09-14 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/158463 This test was using $'https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/158447 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Rewrite tests using subshells to set env variables (PR #158446)

2025-09-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/158446 Now that we have the %readfile substitution, we can rewrite these tests that were using env variable subshells to write the output of the command into a file and then load it where it is needed using readf

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Invoke shell script with bash (PR #157608)

2025-09-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157608 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [llvm] [InstCombine] Set !prof metadata on selects (PR #157599)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
@@ -6008,6 +6009,15 @@ static bool combineInstructionsOverFunction( if (!MadeChangeInThisIteration) break; +// Issue #147390: InstCombine emits `select` as rewrites of instructions +// without metadata. It may be possible to synthesize some more meaningful +

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [Clang] Invoke shell script with bash (PR #157608)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157608 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH 1/3] feedback Created using spr 1.3.6 --- llvm/test/MC/C

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH 1/3] feedback Created using spr 1.3.6 --- llvm/test/MC/C

[llvm-branch-commits] [lit] Support -c flag for diff (PR #157584)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 closed https://github.com/llvm/llvm-project/pull/157584 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-11 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lit] Support -c flag for diff (PR #157584)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: Looks like the two tests that need this are better off with `diff -u`... https://github.com/llvm/llvm-project/pull/157584 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH 1/3] feedback Created using spr 1.3.6 --- llvm/test/MC/C

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
@@ -0,0 +1,17 @@ +# RUN: echo "// comment" > %t.input +# RUN: which llvm-mc | %python %s %t + +import subprocess +import sys + +llvm_mc_binary = sys.stdin.readlines()[0].strip() +temp_file = sys.argv[1] boomanaiden154 wrote: Python doesn't include the interpreter

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
@@ -0,0 +1,25 @@ +# RUN: echo "// comment" > %t.input +# RUN: which llvm-mc | %python %s %t boomanaiden154 wrote: Done. https://github.com/llvm/llvm-project/pull/157232 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH 1/3] feedback Created using spr 1.3.6 --- llvm/test/MC/C

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH 1/2] feedback Created using spr 1.3.6 --- llvm/test/MC/C

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-08 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > Somewhat off-topic for this PR, but why can't REQUIRES: shell force use of > shell even if internal shell is the default? Then we don't lose test coverage > and don't block this on migration of the long-tail of tests. That's another option. The long tail isn't actually

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > The previous, uglified lld tests, and this, make me believe that we should > revisit the lit feature. I am not sure I agree with this test rewriting. I understand the argument that the tests in #156526 look a bit worse. It's not an opinion that everyone shares though. @

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH] feedback Created using spr 1.3.6 --- llvm/test/MC/COFF/

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH] feedback Created using spr 1.3.6 --- llvm/test/MC/COFF/

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/157232 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Invoke run line in stdin.s using bash (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/157232 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MC] Invoke run line in stdin.s using bash (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157232 >From d749f30964e57caa797b3df87ae88ffc3d4a2f54 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 7 Sep 2025 17:39:19 + Subject: [PATCH] feedback Created using spr 1.3.6 --- llvm/test/MC/COFF/

[llvm-branch-commits] [MC] Invoke run line in stdin.s using bash (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > I don't know if I understand what you're going for in this patch. How is this > an improvement over just keeping REQUIRES: shell? The REQUIRES: bit is > what's going to stop the test from running in the wrong environment. That > seems like the right tradeoff. If we do

[llvm-branch-commits] [MC] Invoke run line in stdin.s using bash (PR #157232)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/157232 This test needs to use subshells so that the file descriptor offset gets moved before llvm-mc starts writing output. I cannot get this to trigger the assertion (after reverting the code fixes that fixed th

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/157234 Subshells are not supported by lit's internal shell, which we want to enable by default for the LLVM test suite. Rewrite the tests in llvm/test/tools/llvm-cgdata to not use subshells so we can achieve this

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-06 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/157237 This should result in a 10-15% test time improvement and also richer test failure outputn on Linux where it is not yet the default. We can do this now that all of the tests have been ported over to work wi

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-06 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/157236 This test is a special case as it executes two commands that are special cased in the internal shell implementation. env runs entirely inside the internal shell whereas not is handled specially, but still

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156905 >From f6a61c9ba23ff3139dedbc0b81e7133bc2e07345 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 4 Sep 2025 16:12:07 + Subject: [PATCH] fix Created using spr 1.3.6 --- clang/test/ClangScanDep

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156905 >From f6a61c9ba23ff3139dedbc0b81e7133bc2e07345 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 4 Sep 2025 16:12:07 + Subject: [PATCH] fix Created using spr 1.3.6 --- clang/test/ClangScanDep

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 ready_for_review https://github.com/llvm/llvm-project/pull/156905 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156905 >From f6a61c9ba23ff3139dedbc0b81e7133bc2e07345 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 4 Sep 2025 16:12:07 + Subject: [PATCH] fix Created using spr 1.3.6 --- clang/test/ClangScanDep

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156905 >From f6a61c9ba23ff3139dedbc0b81e7133bc2e07345 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 4 Sep 2025 16:12:07 + Subject: [PATCH] fix Created using spr 1.3.6 --- clang/test/ClangScanDep

[llvm-branch-commits] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 converted_to_draft https://github.com/llvm/llvm-project/pull/156905 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/156905 Most of these tests do not actually have a shell requirement. The shell requirement ended up in the test either from cargo culting (from what I can tell) or because the test authors actually meant to mark

[llvm-branch-commits] [clang] [clang] Remove shell requirements from tests (PR #156905)

2025-09-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156905 >From f6a61c9ba23ff3139dedbc0b81e7133bc2e07345 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 4 Sep 2025 16:12:07 + Subject: [PATCH] fix Created using spr 1.3.6 --- clang/test/ClangScanDep

[llvm-branch-commits] [lld] [lld] Make lld tests use lit internal shell by default (PR #156538)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156538 >From abde79bdaf1789f5c71d9c9fe08c78de924cbf03 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 3 Sep 2025 17:08:08 + Subject: [PATCH] fix test Created using spr 1.3.6 --- lld/test/MachO/obj

[llvm-branch-commits] [lld] Make cache-warning* tests work with internal shell (PR #156537)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Make cache-warning* tests work with internal shell (PR #156537)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Update cgdata-* tests to not use subshells (PR #156533)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156533 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Update cgdata-* tests to not use subshells (PR #156533)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156533 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] [lld] Update tests redirecting multiple commands to FileCheck (PR #156526)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156526 >From b2968a7c143a43281bb2a62ed7a88bba3b356b52 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Sep 2025 20:30:00 + Subject: [PATCH] fix Created using spr 1.3.6 --- lld/test/lit.cfg.py | 2

[llvm-branch-commits] [lld] [lld] Update tests redirecting multiple commands to FileCheck (PR #156526)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156526 >From b2968a7c143a43281bb2a62ed7a88bba3b356b52 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Sep 2025 20:30:00 + Subject: [PATCH] fix Created using spr 1.3.6 --- lld/test/lit.cfg.py | 2

[llvm-branch-commits] [lld] Make lld tests use lit internal shell by default (PR #156538)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156538 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Make cache-warning* tests work with internal shell (PR #156537)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Update cgdata-* tests to not use subshells (PR #156533)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156533 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] [lld] Update tests redirecting multiple commands to FileCheck (PR #156526)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156526 >From b2968a7c143a43281bb2a62ed7a88bba3b356b52 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Sep 2025 20:30:00 + Subject: [PATCH] fix Created using spr 1.3.6 --- lld/test/lit.cfg.py | 2

[llvm-branch-commits] [lld] Make lld tests use lit internal shell by default (PR #156538)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156538 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Make cache-warning* tests work with internal shell (PR #156537)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] [lld] Update tests redirecting multiple commands to FileCheck (PR #156526)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156526 >From b2968a7c143a43281bb2a62ed7a88bba3b356b52 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Sep 2025 20:30:00 + Subject: [PATCH] fix Created using spr 1.3.6 --- lld/test/lit.cfg.py | 2

[llvm-branch-commits] [lld] Update cgdata-* tests to not use subshells (PR #156533)

2025-09-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156533 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] Update cgdata-* tests to not use subshells (PR #156533)

2025-09-02 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/156533 Subshells are not supported in the lit internal shell. We can remove them by constructing sed commands directly inside of a separate file. Towards #102700. _

[llvm-branch-commits] [clang] release/21.x: [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957) (PR #156271)

2025-09-01 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > lgtm, but you probably want the release branch owner to lgtm, too Yeah. That's @tru currently. They're the only ones with merge permissions, so have to be involved either way,. https://github.com/llvm/llvm-project/pull/156271

[llvm-branch-commits] [clang] release/21.x: [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957) (PR #156271)

2025-08-31 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: This makes it easier to use the new options in the CI container since we build from the release branch. This should be a relatively safe backport given how small the change is in addition to how infrequently these CMake caches change at this point. https://github.com/llv

[llvm-branch-commits] [Flang] Enable lit's internal shell by default (PR #156116)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156116 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Flang] Enable lit's internal shell by default (PR #156116)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156116 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Flang] Enable lit's internal shell by default (PR #156116)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/156116 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Flang] Enable lit's internal shell by default (PR #156116)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/156116 Lit's internal shell is faster as it avoids the overhead of needing to fork bash for every run line, and also provides better debug information on failures. Now that all of flang's tests work correctly wi

[llvm-branch-commits] [BOLT] Enable lit internal shell by default (PR #156083)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156083 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Enable lit internal shell by default (PR #156083)

2025-08-29 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/156083 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Change getSlotIndex parameter from Value* to Value& (PR #155700)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. https://github.com/llvm/llvm-project/pull/155700 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Initialize Embedding vectors with zeros by default (PR #155690)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. https://github.com/llvm/llvm-project/pull/155690 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Add usage documentation for obtaining embeddings (PR #155516)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. https://github.com/llvm/llvm-project/pull/155516 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use canonical type IDs (PR #155323)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. https://github.com/llvm/llvm-project/pull/155323 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use canonical type IDs (PR #155323)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
@@ -410,6 +366,21 @@ bool Vocabulary::invalidate(Module &M, const PreservedAnalyses &PA, return !(PAC.preservedWhenStateless()); } +Vocabulary::VocabVector Vocabulary::createDummyVocabForTest(unsigned Dim) { + VocabVector DummyVocab; + DummyVocab.reserve(NumCanonicalEntri

[llvm-branch-commits] [llvm] [IR2Vec] Make IR2VecCategory externally visible and reuse in llvm-ir2vec cl options (PR #153089)

2025-08-28 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. https://github.com/llvm/llvm-project/pull/153089 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

  1   2   3   4   5   6   >