[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
@@ -1,6 +1,5 @@ // RUN: %clang -### -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 -MD -MF tmp.d %s 2>&1 | FileCheck %s Sharjeel-Khan wrote: I added --target=x86_64-linux-gnu to the command. I just need a review so I c

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/126585 >From f8b2aa2393ae9cc5329790a78dc995017968a8a1 Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Mon, 10 Feb 2025 19:30:06 + Subject: [PATCH 1/2] Fix test for HIP as it was failing This PR #125646 ad

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/126585 >From f8b2aa2393ae9cc5329790a78dc995017968a8a1 Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Mon, 10 Feb 2025 19:30:06 + Subject: [PATCH 1/2] Fix test for HIP as it was failing This PR #125646 ad

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
Sharjeel-Khan wrote: @lalaniket8 This was your PR so I want to make sure this is okay with you https://github.com/llvm/llvm-project/pull/126585 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/126585 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
Sharjeel-Khan wrote: ``` FAIL: Clang :: Driver/dep-file-flag-with-multiple-offload-archs.hip (10874 of 21886) TEST 'Clang :: Driver/dep-file-flag-with-multiple-offload-archs.hip' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /b/f/w/s

[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)

2025-02-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan created https://github.com/llvm/llvm-project/pull/126585 This PR #125646 added this test and it was failing in Android's compiler. I removed the "Build config" check and it passes now. >From f8b2aa2393ae9cc5329790a78dc995017968a8a1 Mon Sep 17 00:00:00 2001 From

[clang] [Driver][ARM] Change Android's NEON FPU hardcoding to "== 7" as it pessimizes future ArmV8 code (PR #122969)

2025-01-15 Thread Sharjeel Khan via cfe-commits
Sharjeel-Khan wrote: Thanks, I updated the PR description. Do you mind merging it @DavidSpickett? I still do not have commit access. https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] [Driver][ARM] Change Android's NEON FPU hardcoding to "== 7" as it pessimizes future ArmV8 code (PR #122969)

2025-01-15 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][ARM] Change Android's NEON FPU hardcoding to "== 7" as it pessimizes future ArmV8 code (PR #122969)

2025-01-15 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/122969 >From ebbb016b161165fff8335213e89dbbf8135a5329 Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Tue, 14 Jan 2025 19:02:31 + Subject: [PATCH] Fix hardcoding of NEON FPU for armv8 Android hardcoded NE

[clang] [Driver][ARM] Change Android's NEON FPU hardcoding to "== 7" as it pessimizes future ArmV8 code (PR #122969)

2025-01-15 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][ARM] Fix hardcoding of NEON FPU for armv8 (PR #122969)

2025-01-14 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/122969 >From ebbb016b161165fff8335213e89dbbf8135a5329 Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Tue, 14 Jan 2025 19:02:31 + Subject: [PATCH] Fix hardcoding of NEON FPU for armv8 Android hardcoded NE

[clang] [Driver][ARM] Fix hardcoding of NEON FPU for armv8 (PR #122969)

2025-01-14 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Fix hardcoding of NEON FPU for armv8 (PR #122969)

2025-01-14 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Fix hardcoding of NEON FPU for armv8 (PR #122969)

2025-01-14 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/122969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Fix hardcoding of NEON FPU for armv8 (PR #122969)

2025-01-14 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan created https://github.com/llvm/llvm-project/pull/122969 Android hardcoded NEON FPU for armv7 that is now causing issues with 32-bit builds for armv8. >From 1115ca7a28c092d4fc68ef5481cc58a1655d458d Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Tue, 14 Ja

[clang] [Driver] Warn when using msan on Android (PR #122540)

2025-01-11 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/122540 >From c8d2c210a98fe0c96d758d538d50fcc0ca61a9ff Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Fri, 10 Jan 2025 20:07:52 + Subject: [PATCH 1/3] Warn when using msan on Android Msan is not supported

[clang] [Driver] Warn when using msan on Android (PR #122540)

2025-01-11 Thread Sharjeel Khan via cfe-commits
Sharjeel-Khan wrote: I can do it by moving these checks into Toolchains/Linux.cpp so it triggers that code: https://github.com/llvm/llvm-project/blob/2914ba1c01fdc496082197abf7cd35e2af526634/clang/lib/Driver/ToolChains/Linux.cpp#L809-L865. Is this a good solution? https://github.com/llvm/llvm-

[clang] Warn when using msan on Android (PR #122540)

2025-01-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/122540 >From c8d2c210a98fe0c96d758d538d50fcc0ca61a9ff Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Fri, 10 Jan 2025 20:07:52 + Subject: [PATCH] Warn when using msan on Android Msan is not supported on

[clang] Warn when using msan on Android (PR #122540)

2025-01-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan updated https://github.com/llvm/llvm-project/pull/122540 >From c8d2c210a98fe0c96d758d538d50fcc0ca61a9ff Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Fri, 10 Jan 2025 20:07:52 + Subject: [PATCH 1/2] Warn when using msan on Android Msan is not supported

[clang] Warn when using msan on Android (PR #122540)

2025-01-10 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan created https://github.com/llvm/llvm-project/pull/122540 Msan is not supported on Android as mentioned in google/sanitizers#1381. We proactively give the warning saying it is unsupported to fix android/ndk#1958. >From 4a1f619925d0b2e1003ffb69c5bcc2a28aba63c3 Mo