r330790 - [HIP] Add hip input kind and codegen for kernel launching

2018-04-24 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Apr 24 18:10:37 2018 New Revision: 330790 URL: http://llvm.org/viewvc/llvm-project?rev=330790&view=rev Log: [HIP] Add hip input kind and codegen for kernel launching HIP is a language similar to CUDA (https://github.com/ROCm-Developer-Tools/HIP/blob/master/docs/markdown/

r330793 - Fix failure in lit test kernel-call.cu

2018-04-24 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Apr 24 19:34:04 2018 New Revision: 330793 URL: http://llvm.org/viewvc/llvm-project?rev=330793&view=rev Log: Fix failure in lit test kernel-call.cu There is signext on ppc64. Just remove check for function argument. Modified: cfe/trunk/test/CodeGenCUDA/kernel-call.cu

r330795 - Fix lit test kernel-call.cu failure on ps4 due to dso_local

2018-04-24 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Apr 24 20:16:07 2018 New Revision: 330795 URL: http://llvm.org/viewvc/llvm-project?rev=330795&view=rev Log: Fix lit test kernel-call.cu failure on ps4 due to dso_local Modified: cfe/trunk/test/CodeGenCUDA/kernel-call.cu Modified: cfe/trunk/test/CodeGenCUDA/kernel-cal

r330821 - Fix failure in lit test kernel-call.cu due to name mangling

2018-04-25 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Apr 25 06:07:58 2018 New Revision: 330821 URL: http://llvm.org/viewvc/llvm-project?rev=330821&view=rev Log: Fix failure in lit test kernel-call.cu due to name mangling Modified: cfe/trunk/test/CodeGenCUDA/kernel-call.cu Modified: cfe/trunk/test/CodeGenCUDA/kernel-cal

r330824 - [HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__

2018-04-25 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Apr 25 06:33:19 2018 New Revision: 330824 URL: http://llvm.org/viewvc/llvm-project?rev=330824&view=rev Log: [HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__ Differential Revision: https://reviews.llvm.org/D45441 Modified: cfe/trunk/lib/Frontend/InitPr

r374198 - [HIP] Fix -save-temps

2019-10-09 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Oct 9 11:46:43 2019 New Revision: 374198 URL: http://llvm.org/viewvc/llvm-project?rev=374198&view=rev Log: [HIP] Fix -save-temps Currently clang does not save some of the intermediate file generated during device compilation for HIP when -save-temps is specified. This

r374263 - [CUDA][HIP] Fix host/device check with -fopenmp

2019-10-09 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Oct 9 16:54:10 2019 New Revision: 374263 URL: http://llvm.org/viewvc/llvm-project?rev=374263&view=rev Log: [CUDA][HIP] Fix host/device check with -fopenmp CUDA/HIP program may be compiled with -fopenmp. In this case, -fopenmp is only passed to host compilation to take a

r374467 - Fix help message for -ffp-contract

2019-10-10 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Oct 10 15:43:00 2019 New Revision: 374467 URL: http://llvm.org/viewvc/llvm-project?rev=374467&view=rev Log: Fix help message for -ffp-contract Differential Revision: https://reviews.llvm.org/D68823 Modified: cfe/trunk/include/clang/Driver/Options.td Modified: cfe/tr

r374502 - [CUDA][HIP} Add a test for constexpr default ctor

2019-10-10 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Oct 10 19:43:28 2019 New Revision: 374502 URL: http://llvm.org/viewvc/llvm-project?rev=374502&view=rev Log: [CUDA][HIP} Add a test for constexpr default ctor Differential Revision: https://reviews.llvm.org/D68753 Added: cfe/trunk/test/SemaCUDA/constexpr-ctor.cu Adde

r375362 - [AMDGPU] Fix assertion due to initializer list

2019-10-20 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sun Oct 20 08:02:22 2019 New Revision: 375362 URL: http://llvm.org/viewvc/llvm-project?rev=375362&view=rev Log: [AMDGPU] Fix assertion due to initializer list Sometimes a global var is replaced by a different llvm value. clang use GetAddrOfGlobalVar to get the original llvm

[clang] 68f5ca4 - [HIP] Add option -fgpu-allow-device-init

2019-10-22 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2019-10-22T16:06:20-04:00 New Revision: 68f5ca4e19c16f12895a6f0b9fbabc1d86c4b6b0 URL: https://github.com/llvm/llvm-project/commit/68f5ca4e19c16f12895a6f0b9fbabc1d86c4b6b0 DIFF: https://github.com/llvm/llvm-project/commit/68f5ca4e19c16f12895a6f0b9fbabc1d86c4b6b0.dif

[clang] 1c98ff4 - Fix name of warn_ignored_hip_only_option

2019-10-22 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2019-10-22T16:36:28-04:00 New Revision: 1c98ff49a30b88a2601b92e8702ff2058c4fc226 URL: https://github.com/llvm/llvm-project/commit/1c98ff49a30b88a2601b92e8702ff2058c4fc226 DIFF: https://github.com/llvm/llvm-project/commit/1c98ff49a30b88a2601b92e8702ff2058c4fc226.dif

[clang] 361e4f1 - Fix debug info for NoDebug attr

2020-05-21 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-21T09:02:56-04:00 New Revision: 361e4f14e35981e7498a38ab7c31da7fb7414fb8 URL: https://github.com/llvm/llvm-project/commit/361e4f14e35981e7498a38ab7c31da7fb7414fb8 DIFF: https://github.com/llvm/llvm-project/commit/361e4f14e35981e7498a38ab7c31da7fb7414fb8.dif

[clang] 3ef1134 - Fix DeferredDiagnosticsEmitter for bug#45987

2020-05-21 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-21T11:01:40-04:00 New Revision: 3ef11346f391e6e3da0cfa25f9f7dac22771438e URL: https://github.com/llvm/llvm-project/commit/3ef11346f391e6e3da0cfa25f9f7dac22771438e DIFF: https://github.com/llvm/llvm-project/commit/3ef11346f391e6e3da0cfa25f9f7dac22771438e.dif

[clang] 4fc752b - [CUDA][HIP] Always defer diagnostics for wrong-sided reference

2020-07-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-17T07:51:55-04:00 New Revision: 4fc752b30b9acac73a282cb844a6240e6cb70cca URL: https://github.com/llvm/llvm-project/commit/4fc752b30b9acac73a282cb844a6240e6cb70cca DIFF: https://github.com/llvm/llvm-project/commit/4fc752b30b9acac73a282cb844a6240e6cb70cca.dif

[clang] a46ef7d - Revert "[CUDA][HIP] Always defer diagnostics for wrong-sided reference"

2020-07-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-17T08:10:56-04:00 New Revision: a46ef7d42dc8aa5083319bef678262bddf299f82 URL: https://github.com/llvm/llvm-project/commit/a46ef7d42dc8aa5083319bef678262bddf299f82 DIFF: https://github.com/llvm/llvm-project/commit/a46ef7d42dc8aa5083319bef678262bddf299f82.dif

[clang] 9275e14 - recommit 4fc752b30b9a [CUDA][HIP] Always defer diagnostics for wrong-sided reference

2020-07-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-17T09:14:39-04:00 New Revision: 9275e14379961a4304de559f16fdbac275fb6301 URL: https://github.com/llvm/llvm-project/commit/9275e14379961a4304de559f16fdbac275fb6301 DIFF: https://github.com/llvm/llvm-project/commit/9275e14379961a4304de559f16fdbac275fb6301.dif

[clang] ce04d4e - Fix pow and ldexp in HIP header

2020-07-21 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-21T17:39:46-04:00 New Revision: ce04d4e39c936528fa0e0dc49fdf376eaee21f14 URL: https://github.com/llvm/llvm-project/commit/ce04d4e39c936528fa0e0dc49fdf376eaee21f14 DIFF: https://github.com/llvm/llvm-project/commit/ce04d4e39c936528fa0e0dc49fdf376eaee21f14.dif

[clang] a46e7d7 - [AMDGPU] Allow AGPR in inline asm

2020-04-03 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-03T09:08:13-04:00 New Revision: a46e7d7a5f60b452340eb8ebc873538659c73e78 URL: https://github.com/llvm/llvm-project/commit/a46e7d7a5f60b452340eb8ebc873538659c73e78 DIFF: https://github.com/llvm/llvm-project/commit/a46e7d7a5f60b452340eb8ebc873538659c73e78.dif

[clang] b72fce1 - Fix __builtin_amdgcn_workgroup_size_x/y/z return type

2020-04-03 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-03T09:56:30-04:00 New Revision: b72fce1ffd0a0de5b46b486c7030d54cc5d8c225 URL: https://github.com/llvm/llvm-project/commit/b72fce1ffd0a0de5b46b486c7030d54cc5d8c225 DIFF: https://github.com/llvm/llvm-project/commit/b72fce1ffd0a0de5b46b486c7030d54cc5d8c225.dif

[clang] 2c31aa2 - Speed up deferred diagnostic emitter

2020-04-06 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-06T13:07:43-04:00 New Revision: 2c31aa2de13a23a00ced87123b92e905f2929c7b URL: https://github.com/llvm/llvm-project/commit/2c31aa2de13a23a00ced87123b92e905f2929c7b DIFF: https://github.com/llvm/llvm-project/commit/2c31aa2de13a23a00ced87123b92e905f2929c7b.dif

[clang] 77e2493 - [NFC] Minor fix for deferred diagnostics emitter

2020-04-06 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-06T14:01:41-04:00 New Revision: 77e24936022add9e5a0b4ff3db99148c96d113af URL: https://github.com/llvm/llvm-project/commit/77e24936022add9e5a0b4ff3db99148c96d113af DIFF: https://github.com/llvm/llvm-project/commit/77e24936022add9e5a0b4ff3db99148c96d113af.dif

[clang] 04abbb3 - [HIP] Change default --gpu-max-threads-per-block value to 1024

2020-06-03 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-03T11:09:22-04:00 New Revision: 04abbb3a78186aa92809866b43217c32cba90b71 URL: https://github.com/llvm/llvm-project/commit/04abbb3a78186aa92809866b43217c32cba90b71 DIFF: https://github.com/llvm/llvm-project/commit/04abbb3a78186aa92809866b43217c32cba90b71.dif

[clang] 049d860 - [CUDA][HIP] Fix constexpr variables for C++17

2020-06-03 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-03T21:56:52-04:00 New Revision: 049d860707ef22978b9379fee6dce38c66a22671 URL: https://github.com/llvm/llvm-project/commit/049d860707ef22978b9379fee6dce38c66a22671 DIFF: https://github.com/llvm/llvm-project/commit/049d860707ef22978b9379fee6dce38c66a22671.dif

[clang] 263390d - [CUDA][HIP] Fix implicit HD function resolution

2020-06-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-04T16:54:52-04:00 New Revision: 263390d4f5f23967a31af09eb6e0c12e633d6104 URL: https://github.com/llvm/llvm-project/commit/263390d4f5f23967a31af09eb6e0c12e633d6104 DIFF: https://github.com/llvm/llvm-project/commit/263390d4f5f23967a31af09eb6e0c12e633d6104.dif

[clang] e987c37 - Fix lit tests hip-include-path.hip and hip-host-cpu-macros.cu

2020-06-05 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-05T13:21:35-04:00 New Revision: e987c372185d805e3a30097366af2c6f94bc0b29 URL: https://github.com/llvm/llvm-project/commit/e987c372185d805e3a30097366af2c6f94bc0b29 DIFF: https://github.com/llvm/llvm-project/commit/e987c372185d805e3a30097366af2c6f94bc0b29.dif

[clang] ee60847 - Attempt to fix hip-include-path.hip

2020-06-05 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-05T14:36:36-04:00 New Revision: ee608478623a716da38cd09383f640f3a96f8d61 URL: https://github.com/llvm/llvm-project/commit/ee608478623a716da38cd09383f640f3a96f8d61 DIFF: https://github.com/llvm/llvm-project/commit/ee608478623a716da38cd09383f640f3a96f8d61.dif

[clang] 3928436 - Attempt to fix hip-include-path.hip

2020-06-05 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-05T15:31:53-04:00 New Revision: 392843617acbce5baf6ca7c7fff8dbac58bf853f URL: https://github.com/llvm/llvm-project/commit/392843617acbce5baf6ca7c7fff8dbac58bf853f DIFF: https://github.com/llvm/llvm-project/commit/392843617acbce5baf6ca7c7fff8dbac58bf853f.dif

[clang] 4615abc - Rename arg name in __clang_hip_math.h

2020-06-08 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-08T14:13:32-04:00 New Revision: 4615abc11f2fcbf7526f7c939f2a3f71d80f0d93 URL: https://github.com/llvm/llvm-project/commit/4615abc11f2fcbf7526f7c939f2a3f71d80f0d93 DIFF: https://github.com/llvm/llvm-project/commit/4615abc11f2fcbf7526f7c939f2a3f71d80f0d93.dif

[clang] af00eb2 - Fix __clang_cuda_math_forward_declares.h

2020-06-10 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-10T23:47:13-04:00 New Revision: af00eb25f890ecbf02818f1466da8f30d93e6298 URL: https://github.com/llvm/llvm-project/commit/af00eb25f890ecbf02818f1466da8f30d93e6298 DIFF: https://github.com/llvm/llvm-project/commit/af00eb25f890ecbf02818f1466da8f30d93e6298.dif

[clang] e8090d8 - [HIP] Do not call opt/llc for -fno-gpu-rdc

2020-06-15 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-15T18:55:01-04:00 New Revision: e8090d83fd92cc6a9d03b48c91f979bbfa6bb1fc URL: https://github.com/llvm/llvm-project/commit/e8090d83fd92cc6a9d03b48c91f979bbfa6bb1fc DIFF: https://github.com/llvm/llvm-project/commit/e8090d83fd92cc6a9d03b48c91f979bbfa6bb1fc.dif

[clang] 6752786 - [HIP] Do not use llvm-link/opt/llc for -fgpu-rdc

2020-06-15 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-15T21:09:18-04:00 New Revision: 6752786d657ae13df93e1fa45df5277052ab URL: https://github.com/llvm/llvm-project/commit/6752786d657ae13df93e1fa45df5277052ab DIFF: https://github.com/llvm/llvm-project/commit/6752786d657ae13df93e1fa45df5277052ab.dif

[clang] 1eaad01 - [CUDA][HIP] Let lambda be host device by default

2020-07-08 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-08T13:10:26-04:00 New Revision: 1eaad01046c88be6bf65265a2bcc53db5a5b48d0 URL: https://github.com/llvm/llvm-project/commit/1eaad01046c88be6bf65265a2bcc53db5a5b48d0 DIFF: https://github.com/llvm/llvm-project/commit/1eaad01046c88be6bf65265a2bcc53db5a5b48d0.dif

[clang] 849d440 - [HIP] Fix rocm detection

2020-07-10 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-10T23:20:15-04:00 New Revision: 849d4405f534434ebbda9889f24ff20122e34671 URL: https://github.com/llvm/llvm-project/commit/849d4405f534434ebbda9889f24ff20122e34671 DIFF: https://github.com/llvm/llvm-project/commit/849d4405f534434ebbda9889f24ff20122e34671.dif

[clang] 5d2c3e0 - Fix regression due to test hip-version.hip

2020-07-11 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-07-11T12:45:29-04:00 New Revision: 5d2c3e031a6861b3e95673d0e238c09938dd9c0d URL: https://github.com/llvm/llvm-project/commit/5d2c3e031a6861b3e95673d0e238c09938dd9c0d DIFF: https://github.com/llvm/llvm-project/commit/5d2c3e031a6861b3e95673d0e238c09938dd9c0d.dif

[clang] 92d8ad0 - [HIP] Fix rocm not found on rocm3.5

2020-06-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-18T08:40:09-04:00 New Revision: 92d8ad02e92fed3884169ba5d98056fe4fa5660d URL: https://github.com/llvm/llvm-project/commit/92d8ad02e92fed3884169ba5d98056fe4fa5660d DIFF: https://github.com/llvm/llvm-project/commit/92d8ad02e92fed3884169ba5d98056fe4fa5660d.dif

[clang] c830d51 - [HIP] Enable -amdgpu-internalize-symbols

2020-06-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-18T16:34:37-04:00 New Revision: c830d517b4e46abb617a80b3967b26546370c928 URL: https://github.com/llvm/llvm-project/commit/c830d517b4e46abb617a80b3967b26546370c928 DIFF: https://github.com/llvm/llvm-project/commit/c830d517b4e46abb617a80b3967b26546370c928.dif

[clang] 2580635 - Let HIP default include respect -nogpuinc and -nogpulib

2020-06-22 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-22T08:39:12-04:00 New Revision: 2580635bd2f3c0527353e4d7823326cd9f92ff7c URL: https://github.com/llvm/llvm-project/commit/2580635bd2f3c0527353e4d7823326cd9f92ff7c DIFF: https://github.com/llvm/llvm-project/commit/2580635bd2f3c0527353e4d7823326cd9f92ff7c.dif

[clang] ed398c3 - [NFC] Extract unifyTargetFeatures

2020-06-25 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-25T23:17:08-04:00 New Revision: ed398c3ca404f9ec50b134863a227555a9e374df URL: https://github.com/llvm/llvm-project/commit/ed398c3ca404f9ec50b134863a227555a9e374df DIFF: https://github.com/llvm/llvm-project/commit/ed398c3ca404f9ec50b134863a227555a9e374df.dif

[clang] 8013ce4 - [HIP] Add missing options for lto

2020-06-25 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-06-26T00:26:05-04:00 New Revision: 8013ce4490225faf8aae911ee88087ce445e604c URL: https://github.com/llvm/llvm-project/commit/8013ce4490225faf8aae911ee88087ce445e604c DIFF: https://github.com/llvm/llvm-project/commit/8013ce4490225faf8aae911ee88087ce445e604c.dif

[clang] 2da89df - Fix minor bug in CommonArgs.cpp

2020-04-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-24T08:46:33-04:00 New Revision: 2da89df4e8d240160d5f265ecac4b0c6a0705d65 URL: https://github.com/llvm/llvm-project/commit/2da89df4e8d240160d5f265ecac4b0c6a0705d65 DIFF: https://github.com/llvm/llvm-project/commit/2da89df4e8d240160d5f265ecac4b0c6a0705d65.dif

[clang] c77a407 - [CUDA][HIP] Fix host/device based overload resolution

2020-04-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-24T14:55:18-04:00 New Revision: c77a4078e01033aa2206c31a579d217c8a07569b URL: https://github.com/llvm/llvm-project/commit/c77a4078e01033aa2206c31a579d217c8a07569b DIFF: https://github.com/llvm/llvm-project/commit/c77a4078e01033aa2206c31a579d217c8a07569b.dif

[clang] 7eae004 - Revert "[CUDA][HIP] Fix host/device based overload resolution"

2020-04-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-24T14:57:10-04:00 New Revision: 7eae00477fddf3943b92d485a6055f4043852f9b URL: https://github.com/llvm/llvm-project/commit/7eae00477fddf3943b92d485a6055f4043852f9b DIFF: https://github.com/llvm/llvm-project/commit/7eae00477fddf3943b92d485a6055f4043852f9b.dif

[clang] b46b1a9 - recommit c77a4078e01033aa2206c31a579d217c8a07569b

2020-04-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-24T16:53:18-04:00 New Revision: b46b1a916d44216f0c70de55ae2123eb9de69027 URL: https://github.com/llvm/llvm-project/commit/b46b1a916d44216f0c70de55ae2123eb9de69027 DIFF: https://github.com/llvm/llvm-project/commit/b46b1a916d44216f0c70de55ae2123eb9de69027.dif

[clang] 55bcb96 - recommit c77a4078e01033aa2206c31a579d217c8a07569b with fix

2020-04-28 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-04-28T09:14:13-04:00 New Revision: 55bcb96f3154808bcb5afc3fb46d8e00bf1db847 URL: https://github.com/llvm/llvm-project/commit/55bcb96f3154808bcb5afc3fb46d8e00bf1db847 DIFF: https://github.com/llvm/llvm-project/commit/55bcb96f3154808bcb5afc3fb46d8e00bf1db847.dif

[clang] 45f2a56 - [CUDA][HIP] Support accessing static device variable in host code for -fno-gpu-rdc

2020-08-05 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-08-05T07:57:38-04:00 New Revision: 45f2a56856e29b8cb038b2e559289b91fb98fedf URL: https://github.com/llvm/llvm-project/commit/45f2a56856e29b8cb038b2e559289b91fb98fedf DIFF: https://github.com/llvm/llvm-project/commit/45f2a56856e29b8cb038b2e559289b91fb98fedf.dif

[clang] ac3e720 - Make clang HIP headers compatible with C++98

2020-08-07 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-08-07T13:50:22-04:00 New Revision: ac3e720dc1af9555c5591017bd2b6c7f6641a34d URL: https://github.com/llvm/llvm-project/commit/ac3e720dc1af9555c5591017bd2b6c7f6641a34d DIFF: https://github.com/llvm/llvm-project/commit/ac3e720dc1af9555c5591017bd2b6c7f6641a34d.dif

[clang] fb04d7b - [CUDA][HIP] Do not externalize implicit constant static variable

2020-08-10 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-08-10T19:02:49-04:00 New Revision: fb04d7b4a69831f6b999b1776da738557b108e0d URL: https://github.com/llvm/llvm-project/commit/fb04d7b4a69831f6b999b1776da738557b108e0d DIFF: https://github.com/llvm/llvm-project/commit/fb04d7b4a69831f6b999b1776da738557b108e0d.dif

[clang] 6604118 - Let clang print registered targets for --version

2020-05-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-04T12:26:18-04:00 New Revision: 66041187c9028f730c41597fe5ea6a63fda1ccad URL: https://github.com/llvm/llvm-project/commit/66041187c9028f730c41597fe5ea6a63fda1ccad DIFF: https://github.com/llvm/llvm-project/commit/66041187c9028f730c41597fe5ea6a63fda1ccad.dif

[clang] d75a6e9 - [CUDA][HIP] Fix empty ctor/dtor check for union

2020-05-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-04T21:52:04-04:00 New Revision: d75a6e93ae99bfcd67219454307da56ebd155d45 URL: https://github.com/llvm/llvm-project/commit/d75a6e93ae99bfcd67219454307da56ebd155d45 DIFF: https://github.com/llvm/llvm-project/commit/d75a6e93ae99bfcd67219454307da56ebd155d45.dif

[clang] e85bc00 - Revert "Let clang print registered targets for --version"

2020-05-07 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-07T11:01:42-04:00 New Revision: e85bc0056ef8e7a4ec5b91f20226df609f6f7f12 URL: https://github.com/llvm/llvm-project/commit/e85bc0056ef8e7a4ec5b91f20226df609f6f7f12 DIFF: https://github.com/llvm/llvm-project/commit/e85bc0056ef8e7a4ec5b91f20226df609f6f7f12.dif

[clang] e03394c - [CUDA][HIP] Workaround for resolving host device function against wrong-sided function

2020-05-12 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-12T08:27:50-04:00 New Revision: e03394c6a6ff5832aa43259d4b8345f40ca6a22c URL: https://github.com/llvm/llvm-project/commit/e03394c6a6ff5832aa43259d4b8345f40ca6a22c DIFF: https://github.com/llvm/llvm-project/commit/e03394c6a6ff5832aa43259d4b8345f40ca6a22c.dif

[clang] cf2fb13 - Add -print-targets to print the registered targets

2020-05-13 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-13T11:34:22-04:00 New Revision: cf2fb139321ca06b5200a88847fabec93ee92d80 URL: https://github.com/llvm/llvm-project/commit/cf2fb139321ca06b5200a88847fabec93ee92d80 DIFF: https://github.com/llvm/llvm-project/commit/cf2fb139321ca06b5200a88847fabec93ee92d80.dif

[clang] 1b7bf1b - [HIP] Do not emit debug info for stub function

2020-05-13 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-05-13T17:55:40-04:00 New Revision: 1b7bf1bd75dcc4a362a83e4abc1200aaa75a38be URL: https://github.com/llvm/llvm-project/commit/1b7bf1bd75dcc4a362a83e4abc1200aaa75a38be DIFF: https://github.com/llvm/llvm-project/commit/1b7bf1bd75dcc4a362a83e4abc1200aaa75a38be.dif

r281904 - [OpenCL] Diagnose assignment to dereference of half type pointer

2016-09-19 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Sep 19 09:54:41 2016 New Revision: 281904 URL: http://llvm.org/viewvc/llvm-project?rev=281904&view=rev Log: [OpenCL] Diagnose assignment to dereference of half type pointer Differential Revision: https://reviews.llvm.org/D24626 Modified: cfe/trunk/include/clang/Basic

Re: [PATCH] D24626: [OpenCL] Diagnose assignment to dereference of half type pointer

2016-09-19 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL281904: [OpenCL] Diagnose assignment to dereference of half type pointer (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D24626?vs=71548&id=71823#toc Repository: rL LLVM http

Re: [PATCH] D24666: [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled

2016-09-19 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/Sema/SemaDecl.cpp:7599-7602 @@ -7595,3 +7598,6 @@ // of event_t type. -S.Diag(Param->getLocation(), diag::err_bad_kernel_param_type) << PT; +// Do not diagnose half type since it is diagnosed as invalid argument +// ty

Re: [PATCH] D24666: [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled

2016-09-19 Thread Yaxun Liu via cfe-commits
yaxunl marked 6 inline comments as done. Comment at: lib/Sema/SemaDecl.cpp:7600 @@ +7599,3 @@ +// Do not diagnose half type since it is diagnosed as invalid argument +// type for any function eleswhere. +if (!PT->isHalfType()) Anastasia wrote: > -> els

r281915 - [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled

2016-09-19 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Sep 19 12:11:22 2016 New Revision: 281915 URL: http://llvm.org/viewvc/llvm-project?rev=281915&view=rev Log: [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled Modified: cfe/trunk/lib/Sema/SemaDecl.cpp cfe/trunk/test/SemaOpenCL/half.cl cfe/tru

Re: [PATCH] D24235: [OpenCL] Improve double literal handling

2016-09-19 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/Sema/SemaExpr.cpp:3431 @@ -3410,1 +3430,3 @@ +.getSupportedOpenCLOpts() +.cl_khr_fp64) || getOpenCLOptions().cl_khr_fp64)) { This check (getLangOpt

Re: [PATCH] D21698: [OpenCL] Allow disabling types and declarations associated with extensions

2016-09-19 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D21698#540237, @Anastasia wrote: > I have made an experiment with a simple kernel: > > void foo1(void); > void foo2(void); > void foo3(void); > void foo4(void); > void foo5(void); > void foo6(void); > void foo7(void); > void foo8

Re: [PATCH] D24235: [OpenCL] Improve double literal handling

2016-09-20 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/Sema/SemaExpr.cpp:3431 @@ -3410,1 +3430,3 @@ +.getSupportedOpenCLOpts() +.cl_khr_fp64) || getOpenCLOptions().cl_khr_fp64)) { neil.hickey wrote: > yaxu

Re: [PATCH] D23712: [OpenCL] Override supported OpenCL extensions with -cl-ext option

2016-09-20 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. I think we need two more tests for concatenating and overriding the option, e.g -cl-ext=-cl_khr_fp64 -cl-ext=+cl_khr_fp64 and -cl-ext=-cl_khr_fp64,+cl_khr_fp64 Comment at: include/clang/Basic/OpenCLOptions.h:35 @@ +34,3 @@ + void setAll(bool Enabl

Re: [PATCH] D24481: make “#pragma STDC FP_CONTRACT” on by default

2016-09-20 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. Is it possible to merge cfe/trunk/test/CodeGen/fp-contract-pragma___on-by-default___-O[0-3]___aarch64-backend.c as one and remove cfe/trunk/test/CodeGen/fp-contract-pragma___on-by-default___-O1...3___aarch64-backend.h? They look the same except the RUN commands. Why not

Re: [PATCH] D24481: make “#pragma STDC FP_CONTRACT” on by default

2016-09-20 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. > ... then that will cause 3 compilations and 3 tests, right? Right. https://reviews.llvm.org/D24481 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D24481: make “#pragma STDC FP_CONTRACT” on by default

2016-09-21 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: clang/test/CodeGen/fp-contract-pragma___on-by-default___-O1...3___aarch64-backend.c:8 @@ +7,3 @@ +// CHECK: fmadd d0, d{{[0-7]}}, d{{[0-7]}}, d{{[0-7]}} +// CHECK-NEXT: ret +double fmadd_double(double a, double b, double c) {

Re: [PATCH] D24481: make “#pragma STDC FP_CONTRACT” on by default

2016-09-21 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: clang/lib/Frontend/CompilerInvocation.cpp:2441 @@ +2440,3 @@ + + if ((LangOpts.C11 || LangOpts.C99 || LangOpts.CPlusPlus) + && ( CodeGenOptions::FPC_On == Res.getCodeGenOpts().getFPContractMode() ) The format o

Re: [PATCH] D23712: [OpenCL] Override supported OpenCL extensions with -cl-ext option

2016-09-22 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. I think we need two more tests for concatenating and overriding the option, e.g -cl-ext=-cl_khr_fp64 -cl-ext=+cl_khr_fp64 and -cl-ext=-cl_khr_fp64,+cl_khr_fp64 Comment at: include/clang/Basic/OpenCLOptions.h:39 @@ +38,3 @@ + + void set(llvm::Strin

Re: [PATCH] D24481: make “#pragma STDC FP_CONTRACT” on by default

2016-09-22 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. LGTM. Thanks. https://reviews.llvm.org/D24481 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D25123: [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions

2016-09-30 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added a reviewer: Anastasia. yaxunl added subscribers: cfe-commits, b-sumner, bader. __builtin_astype is used to cast OpenCL opaque types to other types, as such, it needs to be able to handle casting from and to pointer types correctly. Current it cannot han

r283114 - [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions

2016-10-03 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Oct 3 09:41:50 2016 New Revision: 283114 URL: http://llvm.org/viewvc/llvm-project?rev=283114&view=rev Log: [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions __builtin_astype is used to cast OpenCL opaque types to other types, as such, it needs

[PATCH] D25123: [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions

2016-10-04 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283114: [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D25123?vs=73125&id=73412#toc Repository: rL

[PATCH] D23712: [OpenCL] Override supported OpenCL extensions with -cl-ext option

2016-10-04 Thread Yaxun Liu via cfe-commits
yaxunl accepted this revision. yaxunl added a comment. This revision is now accepted and ready to land. LGTM. Thanks! https://reviews.llvm.org/D23712 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listi

[PATCH] D25305: [OpenCL] Setting constant address space for array initializers

2016-10-06 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. Please add a test. Thanks. Repository: rL LLVM https://reviews.llvm.org/D25305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D25335: [OpenCL] Allow partial initializer for array and struct

2016-10-06 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: Anastasia, bader. yaxunl added a subscriber: cfe-commits. Currently Clang allows partial initializer for C99 but not for OpenCL, e.g. float a[16][16] = {1.0f, 2.0f}; is allowed in C99 but not allowed in OpenCL. This patch fixes that. https

[PATCH] D25343: [OpenCL] Add noduplicate to group functions opencl-c.h

2016-10-06 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: Anastasia, bader. yaxunl added subscribers: cfe-commits, b-sumner. Certain OpenCL builtin functions are supposed to be executed by all threads in a work group or sub group. Such functions should not be duplicated during transformation. It mak

[PATCH] D25343: [OpenCL] Mark group functions as noduplicate in opencl-c.h

2016-10-07 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D25343#564092, @arsenm wrote: > These should be convergent instead Unfortunately convergent is not supported as Clang attribute. There was patch to add it but the author withdrew it. Anastasia/Alexey, Do you think it is a good idea to add _

[PATCH] D25335: [OpenCL] Allow partial initializer for array and struct

2016-10-11 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: test/CodeGenOpenCL/partial_initializer.cl:5 + +// CHECK: @GA = addrspace(1) global [6 x [6 x float]] {{[[][[]}}6 x float] [float 1.00e+00, float 2.00e+00, float 0.00e+00, float 0.00e+00, float 0.00e+00, float 0.0

r283891 - [OpenCL] Allow partial initializer for array and struct

2016-10-11 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Oct 11 10:53:28 2016 New Revision: 283891 URL: http://llvm.org/viewvc/llvm-project?rev=283891&view=rev Log: [OpenCL] Allow partial initializer for array and struct Currently Clang allows partial initializer for C99 but not for OpenCL, e.g. float a[16][16] = {1.0f, 2.0f};

[PATCH] D25335: [OpenCL] Allow partial initializer for array and struct

2016-10-11 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283891: [OpenCL] Allow partial initializer for array and struct (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D25335?vs=73818&id=74266#toc Repository: rL LLVM https://revie

[PATCH] D25343: [OpenCL] Mark group functions as convergent in opencl-c.h

2016-10-12 Thread Yaxun Liu via cfe-commits
yaxunl retitled this revision from "[OpenCL] Mark group functions as noduplicate in opencl-c.h" to "[OpenCL] Mark group functions as convergent in opencl-c.h". yaxunl updated the summary for this revision. yaxunl added a reviewer: aaron.ballman. yaxunl updated this revision to Diff 74394. https:

[PATCH] D25343: [OpenCL] Mark group functions as convergent in opencl-c.h

2016-10-13 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 74514. yaxunl marked 5 inline comments as done. yaxunl added a comment. Revised by Aaron's comments. Added a sema test. https://reviews.llvm.org/D25343 Files: include/clang/Basic/Attr.td include/clang/Basic/AttrDocs.td lib/CodeGen/CGCall.cpp lib/Head

[PATCH] D25343: [OpenCL] Mark group functions as convergent in opencl-c.h

2016-10-13 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 74541. yaxunl added a comment. Minor revision by Aaron's comments. https://reviews.llvm.org/D25343 Files: include/clang/Basic/Attr.td include/clang/Basic/AttrDocs.td lib/CodeGen/CGCall.cpp lib/Headers/opencl-c.h lib/Sema/SemaDeclAttr.cpp test/Cod

[PATCH] D25305: [OpenCL] Setting constant address space for array initializers

2016-10-14 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. The test looks OK. However, the patch only contains the test now. https://reviews.llvm.org/D25305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D25305: [OpenCL] Setting constant address space for array initializers

2016-10-14 Thread Yaxun Liu via cfe-commits
yaxunl accepted this revision. yaxunl added a comment. This revision is now accepted and ready to land. LGTM. Thanks! https://reviews.llvm.org/D25305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listi

r320000 - CodeGen: Fix invalid bitcasts for memcpy

2017-12-06 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Dec 6 17:39:52 2017 New Revision: 32 URL: http://llvm.org/viewvc/llvm-project?rev=32&view=rev Log: CodeGen: Fix invalid bitcasts for memcpy CreateCoercedLoad/CreateCoercedStore assumes pointer argument of memcpy is in addr space 0, which is not correct and causes

[clang] [AMDGPU] Accept/Ignore any -mcmodel arguments. (PR #70760)

2023-11-06 Thread Yaxun Liu via cfe-commits
@@ -5743,9 +5743,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, } else if (Triple.getArch() == llvm::Triple::x86_64) { Ok = llvm::is_contained({"small", "kernel", "medium", "large", "tiny"}, CM); -} else if (Tripl

[llvm] [clang] [AMDGPU] Add code model (#70760) test for amdgpu target. (PR #71019)

2023-11-06 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: I think we need to fix clang and not passing -mcmodel=tiny/kernel to clang -cc1. https://github.com/llvm/llvm-project/pull/70760/files#r1383372722 probably we can do that in this PR https://github.com/llvm/llvm-project/pull/71019 __

[clang] Correctly link and optimize device libraries with -mlink-builtin-bitcode (PR #69371)

2023-11-06 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: sometimes the formatter checks the diff of the rebase when you rebase your code. However if you rebase your commits against ToT of trunk the formatter issue may disappear. https://github.com/llvm/llvm-project/pull/69371 ___ cfe-commit

[clang] Correctly link and optimize device libraries with -mlink-builtin-bitcode (PR #69371)

2023-11-06 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks https://github.com/llvm/llvm-project/pull/69371 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA][HIP] Make template implicitly host device (PR #70369)

2023-11-09 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: ping This patch passes our internal CI. https://github.com/llvm/llvm-project/pull/70369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA][HIP] Make template implicitly host device (PR #70369)

2023-11-09 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/70369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [compiler-rt] [clang] [clang-tools-extra] [mlir] [llvm] [clang][CodeGen] Handle template parameter objects with explicit address spaces (PR #69266)

2023-11-10 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks. https://github.com/llvm/llvm-project/pull/69266 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[compiler-rt] [clang] [llvm] [HIP] support 128 bit int division (PR #71978)

2023-11-10 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/71978 Currently nvcc supports 128 bit int division in device code. This patch adds support of 128 bit int division to HIP. It builds lib functions for 128 bit division in compiler-rt for amdgcn target. Then links co

[clang] [compiler-rt] [llvm] [HIP] support 128 bit int division (PR #71978)

2023-12-04 Thread Yaxun Liu via cfe-commits
@@ -937,27 +938,105 @@ bool CodeGenAction::loadLinkModules(CompilerInstance &CI) { for (const CodeGenOptions::BitcodeFileToLink &F : CI.getCodeGenOpts().LinkBitcodeFiles) { -auto BCBuf = CI.getFileManager().getBufferForFile(F.Filename); -if (!BCBuf) { + +

[compiler-rt] [clang] [llvm] [HIP] support 128 bit int division (PR #71978)

2023-12-04 Thread Yaxun Liu via cfe-commits
@@ -937,27 +938,105 @@ bool CodeGenAction::loadLinkModules(CompilerInstance &CI) { for (const CodeGenOptions::BitcodeFileToLink &F : CI.getCodeGenOpts().LinkBitcodeFiles) { -auto BCBuf = CI.getFileManager().getBufferForFile(F.Filename); -if (!BCBuf) { + +

[clang] [compiler-rt] [llvm] [HIP] support 128 bit int division (PR #71978)

2023-12-05 Thread Yaxun Liu via cfe-commits
@@ -937,27 +938,105 @@ bool CodeGenAction::loadLinkModules(CompilerInstance &CI) { for (const CodeGenOptions::BitcodeFileToLink &F : CI.getCodeGenOpts().LinkBitcodeFiles) { -auto BCBuf = CI.getFileManager().getBufferForFile(F.Filename); -if (!BCBuf) { + +

[clang] Fix tests clang-offload-bundler-zlib/zstd.c (PR #74504)

2023-12-05 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/74504 The test fails intermittently due to non-unique file name %T. Use %t based file names instead. Fixes: https://github.com/llvm/llvm-project/issues/74472 >From 19bfca890a66b38ce92c2d5dc39d8ee144df0bcf Mon Sep 17

[clang] Fix tests clang-offload-bundler-zlib/zstd.c (PR #74504)

2023-12-06 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/74504 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [compiler-rt] [HIP] support 128 bit int division (PR #71978)

2023-12-06 Thread Yaxun Liu via cfe-commits
@@ -596,6 +596,7 @@ static bool mustPreserveGV(const GlobalValue &GV) { if (const Function *F = dyn_cast(&GV)) return F->isDeclaration() || F->getName().startswith("__asan_") || F->getName().startswith("__sanitizer_") || + F->getName() == "__divti3" |

<    1   2   3   4   5   6   7   8   9   10   >