[clang] 22c457a - [HIP] Fix device stub name

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

[clang] 0ffb12c - [HIP] Mark kernels with uniform-work-group-size=true

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

[clang] 60963fa - [HIP] Let clang recognize .hip extension

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

[clang] 08ab8c9 - [NFC] Add UsedDeclVisitor

2020-03-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-03-17T12:12:40-04:00 New Revision: 08ab8c9af4dd27cb306b449edc9a9c50ed11194a URL: https://github.com/llvm/llvm-project/commit/08ab8c9af4dd27cb306b449edc9a9c50ed11194a DIFF: https://github.com/llvm/llvm-project/commit/08ab8c9af4dd27cb306b449edc9a9c50ed11194a.dif

[clang] 6f79f80 - [HIP] Fix duplicate clang -cc1 options on MSVC toolchain

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

[clang] 6220176 - Fix crash in check-mlir due to 08ab8c9af4dd27cb306b449edc9a9c50ed11194a

2020-03-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-03-18T21:50:00-04:00 New Revision: 62201763c54166a3ee5552975cc3fc06db2d5c6f URL: https://github.com/llvm/llvm-project/commit/62201763c54166a3ee5552975cc3fc06db2d5c6f DIFF: https://github.com/llvm/llvm-project/commit/62201763c54166a3ee5552975cc3fc06db2d5c6f.dif

[clang] b58f6bb - Add a test for UsedDeclVisitor

2020-03-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-03-19T00:05:10-04:00 New Revision: b58f6bb1207521cdf6a856004525d7bffa5f2153 URL: https://github.com/llvm/llvm-project/commit/b58f6bb1207521cdf6a856004525d7bffa5f2153 DIFF: https://github.com/llvm/llvm-project/commit/b58f6bb1207521cdf6a856004525d7bffa5f2153.dif

[clang] f528df8 - Revert "Add a test for UsedDeclVisitor"

2020-03-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-03-19T00:15:47-04:00 New Revision: f528df8e269df8b10de4a2458e99b42d6240ea91 URL: https://github.com/llvm/llvm-project/commit/f528df8e269df8b10de4a2458e99b42d6240ea91 DIFF: https://github.com/llvm/llvm-project/commit/f528df8e269df8b10de4a2458e99b42d6240ea91.dif

[clang] e778db6 - recommit b58f6bb1207521cdf6a856004525d7bffa5f2153

2020-03-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-03-19T00:26:38-04:00 New Revision: e778db6d7217d5e9d2c2a25467a46147f521160d URL: https://github.com/llvm/llvm-project/commit/e778db6d7217d5e9d2c2a25467a46147f521160d DIFF: https://github.com/llvm/llvm-project/commit/e778db6d7217d5e9d2c2a25467a46147f521160d.dif

[clang] fb44b9d - [OpenCL][CUDA][HIP][SYCL] Add norecurse

2020-02-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-02-16T20:41:00-05:00 New Revision: fb44b9db95a333efdfa9a33ddc1778f97428f5f5 URL: https://github.com/llvm/llvm-project/commit/fb44b9db95a333efdfa9a33ddc1778f97428f5f5 DIFF: https://github.com/llvm/llvm-project/commit/fb44b9db95a333efdfa9a33ddc1778f97428f5f5.dif

[clang] 1b978dd - [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese

2020-02-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-02-16T22:44:33-05:00 New Revision: 1b978ddba05cb15e22b4e75adb5e7362ad861987 URL: https://github.com/llvm/llvm-project/commit/1b978ddba05cb15e22b4e75adb5e7362ad861987 DIFF: https://github.com/llvm/llvm-project/commit/1b978ddba05cb15e22b4e75adb5e7362ad861987.dif

[clang] 36f480f - Revert "[CUDA][HIP][OpenMP] Add lib/Sema/UsedDeclVisitor.h after D70172"

2020-02-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-02-18T14:45:34-05:00 New Revision: 36f480f22c25d5bb253db77f46cf089d16318e6b URL: https://github.com/llvm/llvm-project/commit/36f480f22c25d5bb253db77f46cf089d16318e6b DIFF: https://github.com/llvm/llvm-project/commit/36f480f22c25d5bb253db77f46cf089d16318e6b.dif

[clang] bcadb1f - Revert "[CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese"

2020-02-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-02-18T14:45:34-05:00 New Revision: bcadb1f2e6afe51d5646c6e98faa14aa1a1c669c URL: https://github.com/llvm/llvm-project/commit/bcadb1f2e6afe51d5646c6e98faa14aa1a1c669c DIFF: https://github.com/llvm/llvm-project/commit/bcadb1f2e6afe51d5646c6e98faa14aa1a1c669c.dif

[clang] b7e415f - [HIP] Fix environment variable HIP_DEVICE_LIB_PATH

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

[clang] b8d9ac0 - Fix test hip-device-libs.hip

2020-01-28 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-01-28T13:58:18-05:00 New Revision: b8d9ac08703b1ae9c3cd721c39774053786a9980 URL: https://github.com/llvm/llvm-project/commit/b8d9ac08703b1ae9c3cd721c39774053786a9980 DIFF: https://github.com/llvm/llvm-project/commit/b8d9ac08703b1ae9c3cd721c39774053786a9980.dif

r328359 - [AMDGPU] Fix codegen for inline assembly

2018-03-23 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Mar 23 12:43:42 2018 New Revision: 328359 URL: http://llvm.org/viewvc/llvm-project?rev=328359&view=rev Log: [AMDGPU] Fix codegen for inline assembly Need to override convertConstraint to recognise amdgpu specific register names. Differential Revision: https://reviews.llv

r328793 - Disable emitting static extern C aliases for amdgcn target for CUDA

2018-03-29 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Mar 29 07:50:00 2018 New Revision: 328793 URL: http://llvm.org/viewvc/llvm-project?rev=328793&view=rev Log: Disable emitting static extern C aliases for amdgcn target for CUDA Patch by Greg Rodgers. Revised and lit test added by Yaxun Liu. Differential Revision: https://

r328795 - Set calling convention for CUDA kernel

2018-03-29 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Mar 29 08:02:08 2018 New Revision: 328795 URL: http://llvm.org/viewvc/llvm-project?rev=328795&view=rev Log: Set calling convention for CUDA kernel This patch sets target specific calling convention for CUDA kernels in IR. Patch by Greg Rodgers. Revised and lit test added

r328994 - [CUDA] Let device-side shared variables be initialized with undef

2018-04-02 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Apr 2 10:38:24 2018 New Revision: 328994 URL: http://llvm.org/viewvc/llvm-project?rev=328994&view=rev Log: [CUDA] Let device-side shared variables be initialized with undef CUDA shared variable should be initialized with undef. Patch by Greg Rodgers. Revised and lit tes

r329232 - [CUDA] Add amdgpu sub archs

2018-04-04 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Apr 4 14:19:27 2018 New Revision: 329232 URL: http://llvm.org/viewvc/llvm-project?rev=329232&view=rev Log: [CUDA] Add amdgpu sub archs Patch by Greg Rodgers. Revised and lit tests added by Yaxun Liu. Differential Revision: https://reviews.llvm.org/D45277 Modified:

r329420 - [HIP] define __CUDA_ARCH_=1 for amdgcn targets

2018-04-06 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Apr 6 09:43:42 2018 New Revision: 329420 URL: http://llvm.org/viewvc/llvm-project?rev=329420&view=rev Log: [HIP] define __CUDA_ARCH_=1 for amdgcn targets Differential Revision: https://reviews.llvm.org/D45277 Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/

r329584 - [CUDA] Revert defining __CUDA_ARCH__ for amdgcn targets

2018-04-09 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Apr 9 08:43:01 2018 New Revision: 329584 URL: http://llvm.org/viewvc/llvm-project?rev=329584&view=rev Log: [CUDA] Revert defining __CUDA_ARCH__ for amdgcn targets amdgcn targets only support HIP, which does not define __CUDA_ARCH__. this is a partial unroll of r329232 /

r316909 - CodeGen: Fix insertion position of addrspace cast for alloca

2017-10-30 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Oct 30 07:38:30 2017 New Revision: 316909 URL: http://llvm.org/viewvc/llvm-project?rev=316909&view=rev Log: CodeGen: Fix insertion position of addrspace cast for alloca For non-zero alloca addr space, alloca is usually casted to default addr space immediately. For non-vl

r318414 - Update tests for llvm.invariant.group.barrier becoming mangled

2017-11-16 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Nov 16 08:33:04 2017 New Revision: 318414 URL: http://llvm.org/viewvc/llvm-project?rev=318414&view=rev Log: Update tests for llvm.invariant.group.barrier becoming mangled Differential Revision: https://reviews.llvm.org/D40062 Modified: cfe/trunk/test/CodeGenCXX/invar

[clang] 3711403 - [AMDGPU] Mark mbcnt as convergent

2023-03-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-03-02T11:56:32-05:00 New Revision: 37114036aa57e53217a57afacd7f47b36114edfb URL: https://github.com/llvm/llvm-project/commit/37114036aa57e53217a57afacd7f47b36114edfb DIFF: https://github.com/llvm/llvm-project/commit/37114036aa57e53217a57afacd7f47b36114edfb.dif

[clang] 1f8a3ce - [HIP] Fix temporary files

2023-03-09 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-03-09T21:41:58-05:00 New Revision: 1f8a3ce325be51a1004657b08a607825447fee1b URL: https://github.com/llvm/llvm-project/commit/1f8a3ce325be51a1004657b08a607825447fee1b DIFF: https://github.com/llvm/llvm-project/commit/1f8a3ce325be51a1004657b08a607825447fee1b.dif

[clang] 43c90f9 - [HIP] Make `--offload-add-rpath` alias of `-frtlib-add-rpath`

2023-03-11 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-03-11T13:33:17-05:00 New Revision: 43c90f905a2293dde1d6975e6747ce50063cd155 URL: https://github.com/llvm/llvm-project/commit/43c90f905a2293dde1d6975e6747ce50063cd155 DIFF: https://github.com/llvm/llvm-project/commit/43c90f905a2293dde1d6975e6747ce50063cd155.dif

[clang] 41a1625 - [HIP] Fix version detection for old HIP-PATH

2023-06-29 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-29T14:57:26-04:00 New Revision: 41a1625e07e8b20dafec11f0d138031106abfad0 URL: https://github.com/llvm/llvm-project/commit/41a1625e07e8b20dafec11f0d138031106abfad0 DIFF: https://github.com/llvm/llvm-project/commit/41a1625e07e8b20dafec11f0d138031106abfad0.dif

[clang] aa964f1 - [HIP] Fix -mllvm option for device lld linker

2023-06-30 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-30T12:54:38-04:00 New Revision: aa964f157f9b50fab3895afbfda6e0915cf6bb4a URL: https://github.com/llvm/llvm-project/commit/aa964f157f9b50fab3895afbfda6e0915cf6bb4a DIFF: https://github.com/llvm/llvm-project/commit/aa964f157f9b50fab3895afbfda6e0915cf6bb4a.dif

[clang] 806b74b - [HIP] clang should pass `-mno-amdgpu-ieee` to -cc1

2023-04-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-04-02T08:11:17-04:00 New Revision: 806b74b0de6e7354033ec36c833d43ca8ff13fa7 URL: https://github.com/llvm/llvm-project/commit/806b74b0de6e7354033ec36c833d43ca8ff13fa7 DIFF: https://github.com/llvm/llvm-project/commit/806b74b0de6e7354033ec36c833d43ca8ff13fa7.dif

[clang] 6aa74ae - [HIP] Supports env var HIP_PATH

2023-04-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-04-02T08:46:19-04:00 New Revision: 6aa74ae29ffc01b486798552672171f5a622fc2a URL: https://github.com/llvm/llvm-project/commit/6aa74ae29ffc01b486798552672171f5a622fc2a DIFF: https://github.com/llvm/llvm-project/commit/6aa74ae29ffc01b486798552672171f5a622fc2a.dif

[clang] 5f91c74 - [Driver] Fix rpath for compiler-rt

2023-04-05 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-04-05T20:14:53-04:00 New Revision: 5f91c747763c20a63f3d6156fced03b474f842a1 URL: https://github.com/llvm/llvm-project/commit/5f91c747763c20a63f3d6156fced03b474f842a1 DIFF: https://github.com/llvm/llvm-project/commit/5f91c747763c20a63f3d6156fced03b474f842a1.dif

[clang] f5033c3 - [HIP] Allow std::malloc in device function

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

[clang] 0442d08 - [clang][Sema] Improve diagnostics for auto return type

2023-05-30 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-05-30T23:35:59-04:00 New Revision: 0442d08fdb173d89b0779d32eb929957a344f5e6 URL: https://github.com/llvm/llvm-project/commit/0442d08fdb173d89b0779d32eb929957a344f5e6 DIFF: https://github.com/llvm/llvm-project/commit/0442d08fdb173d89b0779d32eb929957a344f5e6.dif

[clang] 00448a5 - [clang] Allow fp in atomic fetch max/min builtins

2023-05-31 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-05-31T15:19:31-04:00 New Revision: 00448a548c4efc4bdcfd6be5f161eacc69b30021 URL: https://github.com/llvm/llvm-project/commit/00448a548c4efc4bdcfd6be5f161eacc69b30021 DIFF: https://github.com/llvm/llvm-project/commit/00448a548c4efc4bdcfd6be5f161eacc69b30021.dif

[clang] f4d8b87 - [AMDGPU ASAN] Remove reference to asan bitcode library

2023-02-14 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-02-14T11:52:41-05:00 New Revision: f4d8b8781de9b0efbaf79621ff66c16964bb1df2 URL: https://github.com/llvm/llvm-project/commit/f4d8b8781de9b0efbaf79621ff66c16964bb1df2 DIFF: https://github.com/llvm/llvm-project/commit/f4d8b8781de9b0efbaf79621ff66c16964bb1df2.dif

[clang] 8cda128 - [clang]Fix warning for signed conversion on LP64

2023-02-21 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-02-21T12:43:42-05:00 New Revision: 8cda128c1eff8556505ff27117a68ad8cecaa228 URL: https://github.com/llvm/llvm-project/commit/8cda128c1eff8556505ff27117a68ad8cecaa228 DIFF: https://github.com/llvm/llvm-project/commit/8cda128c1eff8556505ff27117a68ad8cecaa228.dif

[clang] f859835 - [HIP] Detect HIP for Ubuntu, Mint, Gentoo, etc.

2023-05-09 Thread Yaxun Liu via cfe-commits
Author: Cordell Bloor Date: 2023-05-09T11:31:57-04:00 New Revision: f8598357662dc8dd0f4400bcaeb48e8befe43ecc URL: https://github.com/llvm/llvm-project/commit/f8598357662dc8dd0f4400bcaeb48e8befe43ecc DIFF: https://github.com/llvm/llvm-project/commit/f8598357662dc8dd0f4400bcaeb48e8befe43ecc.diff

[clang] 6adb9a0 - [AMDGPU] Emit predefined macro `__AMDGCN_CUMODE__`

2023-05-12 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-05-12T18:50:52-04:00 New Revision: 6adb9a0602bcd75acd383e13c253e471edc9b189 URL: https://github.com/llvm/llvm-project/commit/6adb9a0602bcd75acd383e13c253e471edc9b189 DIFF: https://github.com/llvm/llvm-project/commit/6adb9a0602bcd75acd383e13c253e471edc9b189.dif

[clang] f2677af - [CUDA][HIP] Externalize device var in anonymous namespace

2023-06-06 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-06T12:03:48-04:00 New Revision: f2677afe91592673663d24a63706c3218c477c1c URL: https://github.com/llvm/llvm-project/commit/f2677afe91592673663d24a63706c3218c477c1c DIFF: https://github.com/llvm/llvm-project/commit/f2677afe91592673663d24a63706c3218c477c1c.dif

[clang] e40e427 - [HIP] Fix HIP path detection

2023-06-13 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-13T11:12:11-04:00 New Revision: e40e427a649df21ce9f11f0b688124855789e2ee URL: https://github.com/llvm/llvm-project/commit/e40e427a649df21ce9f11f0b688124855789e2ee DIFF: https://github.com/llvm/llvm-project/commit/e40e427a649df21ce9f11f0b688124855789e2ee.dif

[clang] 8193b29 - Revert "[HIP] Allow std::malloc in device function"

2023-06-14 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-14T16:33:30-04:00 New Revision: 8193b291cefa732dd37fc917bd2921385e639d21 URL: https://github.com/llvm/llvm-project/commit/8193b291cefa732dd37fc917bd2921385e639d21 DIFF: https://github.com/llvm/llvm-project/commit/8193b291cefa732dd37fc917bd2921385e639d21.dif

[clang] c0f0d50 - [HIP] emit macro `__HIP_NO_IMAGE_SUPPORT`

2023-06-14 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-14T22:53:41-04:00 New Revision: c0f0d50653e16145beee474a3d0d602596502dde URL: https://github.com/llvm/llvm-project/commit/c0f0d50653e16145beee474a3d0d602596502dde DIFF: https://github.com/llvm/llvm-project/commit/c0f0d50653e16145beee474a3d0d602596502dde.dif

[clang] c8c5830 - Fix diag for read-only target features

2023-06-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-06-16T17:48:27-04:00 New Revision: c8c583071591dbc6927955e608dcd44c0bac8b9c URL: https://github.com/llvm/llvm-project/commit/c8c583071591dbc6927955e608dcd44c0bac8b9c DIFF: https://github.com/llvm/llvm-project/commit/c8c583071591dbc6927955e608dcd44c0bac8b9c.dif

[clang] 262c303 - Revert "[AMDGPU] Disable bool range metadata to workaround backend issue"

2022-12-08 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2022-12-08T17:35:10-05:00 New Revision: 262c3034bb44cac8b4ed6d4a3bb99ceb60d9e322 URL: https://github.com/llvm/llvm-project/commit/262c3034bb44cac8b4ed6d4a3bb99ceb60d9e322 DIFF: https://github.com/llvm/llvm-project/commit/262c3034bb44cac8b4ed6d4a3bb99ceb60d9e322.dif

[clang] e8fd998 - [HIP] support --offload-arch=native

2022-12-13 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2022-12-13T10:09:33-05:00 New Revision: e8fd998e6194d8749b83b30813e3cb74e5261770 URL: https://github.com/llvm/llvm-project/commit/e8fd998e6194d8749b83b30813e3cb74e5261770 DIFF: https://github.com/llvm/llvm-project/commit/e8fd998e6194d8749b83b30813e3cb74e5261770.dif

r289787 - Re-commit r289252 and r289285, and fix PR31374

2016-12-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Dec 15 02:09:08 2016 New Revision: 289787 URL: http://llvm.org/viewvc/llvm-project?rev=289787&view=rev Log: Re-commit r289252 and r289285, and fix PR31374 Added: cfe/trunk/test/CodeGenOpenCL/amdgpu-nullptr.cl Modified: cfe/trunk/include/clang/AST/APValue.h cfe

r289979 - [OpenCL] Allow disabling types and declarations associated with extensions

2016-12-16 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Dec 16 13:22:08 2016 New Revision: 289979 URL: http://llvm.org/viewvc/llvm-project?rev=289979&view=rev Log: [OpenCL] Allow disabling types and declarations associated with extensions Added a map to associate types and declarations with extensions. Refactored existing dia

r289991 - Revert r289979 due to regressions

2016-12-16 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Dec 16 15:23:55 2016 New Revision: 289991 URL: http://llvm.org/viewvc/llvm-project?rev=289991&view=rev Log: Revert r289979 due to regressions Removed: cfe/trunk/test/CodeGenOpenCL/extension-begin.cl cfe/trunk/test/SemaOpenCL/extension-begin.cl Modified: cfe/tr

r290056 - Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions

2016-12-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Dec 17 23:18:55 2016 New Revision: 290056 URL: http://llvm.org/viewvc/llvm-project?rev=290056&view=rev Log: Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions Fixed undefined behavior due to cast integer to bool in initializer lis

r290058 - Attempt to fix build failure and regressions due to r290056

2016-12-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sun Dec 18 00:35:06 2016 New Revision: 290058 URL: http://llvm.org/viewvc/llvm-project?rev=290058&view=rev Log: Attempt to fix build failure and regressions due to r290056 Add llvm:: namespace to StringRef. Make conversion between bool and uint64_t explicit. Modified: cf

r290059 - Fix a lit test issue exposed by r290056

2016-12-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sun Dec 18 01:26:01 2016 New Revision: 290059 URL: http://llvm.org/viewvc/llvm-project?rev=290059&view=rev Log: Fix a lit test issue exposed by r290056 The test requests a target which supports cl_khr_gl_msaa_sharing since in test/PCH/ocl_types.h it tries to enable cl_khr_gl

r290075 - Add a lit test for PR31374

2016-12-18 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sun Dec 18 20:55:53 2016 New Revision: 290075 URL: http://llvm.org/viewvc/llvm-project?rev=290075&view=rev Log: Add a lit test for PR31374 Differential Revision: https://reviews.llvm.org/D27909 Added: cfe/trunk/test/CodeGenObjC/nullptr-assert.m Added: cfe/trunk/test/Cod

Re: [PATCH] D23086: [OpenCL] Generate concrete struct type for ndrange_t

2016-08-16 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D23086#516365, @Anastasia wrote: > Why not to just identify the type by the name? It seems much easier and also > gives flexibility to implement the type in different ways if needed. > Considering that similar approach is already used for some

Re: [PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

2016-08-16 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/CodeGen/CodeGenModule.cpp:101 @@ -100,3 +100,3 @@ DoubleTy = llvm::Type::getDoubleTy(LLVMContext); PointerWidthInBits = C.getTargetInfo().getPointerWidth(0); PointerAlignInBytes = joey wrote: > What if you cre

Re: [PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

2016-08-16 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 68241. yaxunl added a comment. Remove language dependency. Choose proper integer types for pointer arithmetic. https://reviews.llvm.org/D23361 Files: include/clang/Basic/TargetInfo.h lib/Basic/TargetInfo.cpp lib/Basic/Targets.cpp lib/CodeGen/CGExprSc

Re: [PATCH] D23573: [OpenCL] Add extension cl_khr_subgroups to clang

2016-08-16 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! Better update the title to be `[OpenCL] AMDGPU: add support of cl_khr_subgroups` since cl_khr_subgroups is already in clang. Repository: rL LLVM https://reviews.llvm.org/D23

r278851 - [OpenCL] AMDGPU: Add extensions cl_amd_media_ops and cl_amd_media_ops2

2016-08-16 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 16 15:49:49 2016 New Revision: 278851 URL: http://llvm.org/viewvc/llvm-project?rev=278851&view=rev Log: [OpenCL] AMDGPU: Add extensions cl_amd_media_ops and cl_amd_media_ops2 Differential Revision: https://reviews.llvm.org/D23322 Modified: cfe/trunk/include/clang

Re: [PATCH] D23322: [OpenCL] AMDGPU: Add extensions cl_amd_media_ops and cl_amd_media_ops2

2016-08-16 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL278851: [OpenCL] AMDGPU: Add extensions cl_amd_media_ops and cl_amd_media_ops2 (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D23322?vs=67358&id=68250#toc Repository: rL LLVM

Re: [PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

2016-08-17 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 68360. yaxunl added a comment. Fix lit test. Use DataLayout::getIntPtrType as Matt suggested. https://reviews.llvm.org/D23361 Files: include/clang/Basic/TargetInfo.h lib/Basic/TargetInfo.cpp lib/Basic/Targets.cpp lib/CodeGen/CGExprScalar.cpp lib/Co

r278972 - [OpenCL] AMDGPU: add support of cl_khr_subgroups

2016-08-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Aug 17 15:39:49 2016 New Revision: 278972 URL: http://llvm.org/viewvc/llvm-project?rev=278972&view=rev Log: [OpenCL] AMDGPU: add support of cl_khr_subgroups Patch by Aaron En Ye Shi. Differential Revision: https://reviews.llvm.org/D23573 Modified: cfe/trunk/lib/Basi

Re: [PATCH] D23573: [OpenCL] AMDGPU: add support of cl_khr_subgroups

2016-08-17 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL278972: [OpenCL] AMDGPU: add support of cl_khr_subgroups (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D23573?vs=68227&id=68418#toc Repository: rL LLVM https://reviews.llvm

Re: [PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

2016-08-18 Thread Yaxun Liu via cfe-commits
yaxunl marked an inline comment as done. Comment at: lib/CodeGen/CGExprScalar.cpp:1513 @@ -1512,2 +1512,3 @@ // extension. -llvm::Type *MiddleTy = CGF.IntPtrTy; +auto DestLLVMTy = ConvertType(DestTy); +llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(D

r279121 - [OpenCL] AMDGCN: Fix size_t type

2016-08-18 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Aug 18 14:34:04 2016 New Revision: 279121 URL: http://llvm.org/viewvc/llvm-project?rev=279121&view=rev Log: [OpenCL] AMDGCN: Fix size_t type Pointers of certain GPUs in AMDGCN target in private address space is 32 bit but pointers in other address spaces are 64 bit. size

Re: [PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

2016-08-18 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. yaxunl marked an inline comment as done. Closed by commit rL279121: [OpenCL] AMDGCN: Fix size_t type (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D23361?vs=68360&id=68594#toc Repository: rL L

r279127 - Revert [OpenCL] AMDGCN: Fix size_t type

2016-08-18 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Aug 18 15:01:06 2016 New Revision: 279127 URL: http://llvm.org/viewvc/llvm-project?rev=279127&view=rev Log: Revert [OpenCL] AMDGCN: Fix size_t type due to regressions in test/CodeGen/exprs.c on certain platforms. Removed: cfe/trunk/test/CodeGenOpenCL/size_t.cl Modifi

r279206 - Re-commit [OpenCL] AMDGCN: Fix size_t type

2016-08-18 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Aug 19 00:17:25 2016 New Revision: 279206 URL: http://llvm.org/viewvc/llvm-project?rev=279206&view=rev Log: Re-commit [OpenCL] AMDGCN: Fix size_t type There was a premature cast to pointer type in emitPointerArithmetic which caused assertion in tests with assertion enabl

Re: [PATCH] D23915: [OpenCL] Remove access qualifiers on images in arg info metadata.

2016-08-28 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/CodeGen/CodeGenFunction.cpp:439 @@ -438,1 +438,3 @@ +static void removeImageAccessQualifier(std::string& tyName) { + std::string roQual("__read_only"); variable names should be capitalized http://llvm.org/docs/Cod

Re: [PATCH] D23914: [OpenCL] Make is_valid_event overloadable.

2016-08-28 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/Headers/opencl-c.h:16732 @@ -16731,3 +16731,3 @@ clk_event_t create_user_event(void); can we also make this one __ovld? Thanks. https://reviews.llvm.org/D23914 ___

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

2016-08-29 Thread Yaxun Liu via cfe-commits
yaxunl retitled this revision from "[OpenCL] Allow user to add supported OpenCL extensions by pragma" to "[OpenCL] Allow disabling types and declarations associate with extensions". yaxunl updated the summary for this revision. yaxunl updated this revision to Diff 69606. yaxunl added a comment.

Re: [PATCH] D23914: [OpenCL] Make is_valid_event, create_user_event overloadable.

2016-08-30 Thread Yaxun Liu via cfe-commits
yaxunl accepted this revision. yaxunl added a comment. LGTM. Thanks. https://reviews.llvm.org/D23914 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D23915: [OpenCL] Remove access qualifiers on images in arg info metadata.

2016-08-30 Thread Yaxun Liu via cfe-commits
yaxunl accepted this revision. yaxunl added a comment. LGTM. Thanks. https://reviews.llvm.org/D23915 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D24054: Do not validate pch when -fno-validate-pch is set

2016-08-30 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: rsmith, Anastasia. yaxunl added a subscriber: cfe-commits. There is a bug causing pch to be validated even though -fno-validate-pch is set. This patch fixes it. https://reviews.llvm.org/D24054 Files: lib/Serialization/ASTReader.cpp Index:

Re: [PATCH] D24054: Do not validate pch when -fno-validate-pch is set

2016-09-02 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. The bug is due to PCHValidator is added as Listener, which causes pch is validated even though DisableValidation is true (when -fno-validate-pch is on). The fix is not add PCHValidator as listener when DisableValidation is true. The bug is annoying for using pch. When pc

Re: [PATCH] D24113: Allow implicit conversions between incompatible pointer types in overload resolution in C.

2016-09-07 Thread Yaxun Liu via cfe-commits
yaxunl added a subscriber: yaxunl. yaxunl added a comment. This seems to cause regression for the following test: __kernel void test_atomic_fn(volatile __global uint *destMemory, __global uint *oldValues) { int tid = get_global_id(0); oldValues[tid] = atom_add( &destMemory[0], ti

Re: [PATCH] D24054: Do not validate pch when -fno-validate-pch is set

2016-09-07 Thread Yaxun Liu via cfe-commits
yaxunl updated the summary for this revision. yaxunl updated this revision to Diff 70569. yaxunl added a comment. Herald added a subscriber: wdng. Implemented a simple AST reader listener to replace PCHValidator. Added a test. https://reviews.llvm.org/D24054 Files: include/clang/Serialization

r280842 - Do not validate pch when -fno-validate-pch is set

2016-09-07 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Sep 7 13:40:20 2016 New Revision: 280842 URL: http://llvm.org/viewvc/llvm-project?rev=280842&view=rev Log: Do not validate pch when -fno-validate-pch is set There is a bug causing pch to be validated even though -fno-validate-pch is set. This patch fixes it. ASTReader

Re: [PATCH] D24054: Do not validate pch when -fno-validate-pch is set

2016-09-07 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL280842: Do not validate pch when -fno-validate-pch is set (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D24054?vs=70569&id=70580#toc Repository: rL LLVM https://reviews.llv

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

2016-09-08 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. I did profiling with valgrind for the cost of checking disabled types and declarations. For a typical program, time spent in checking disabled types and declarations are less than 0.1%, so this cost can be ignored. https://reviews.llvm.org/D21698

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

2016-09-08 Thread Yaxun Liu via cfe-commits
yaxunl marked 8 inline comments as done. yaxunl added a comment. F2413912: ___10_Fiji.i F2413913: callgrind.out.20440 Uploaded the kernel used for profiling and the calgrind data. This kernel is dumped from the open source

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

2016-09-08 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 70738. yaxunl marked 5 inline comments as done. yaxunl added a comment. Revised by Anastasia's comments. https://reviews.llvm.org/D21698 Files: include/clang/Basic/DiagnosticParseKinds.td include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/O

[PATCH] D24512: AMDGPU: Fix target options fp32/64-denormals

2016-09-13 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: tstellarAMD, nhaustov, arsenm. yaxunl added subscribers: cfe-commits, AMDGPU. Herald added a subscriber: wdng. Fix target options for fp32/64-denormals so that +fp64-denormals is set if fp64 is supported -fp32-denormals if fp32 denormals i

Re: [PATCH] D24512: AMDGPU: Fix target options fp32/64-denormals

2016-09-13 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: lib/Basic/Targets.cpp:1962 @@ -1961,3 +1961,3 @@ bool hasLDEXPF:1; - bool hasDenormSupport:1; + bool hasFP32DenormSupport:1; tstellarAMD wrote: > I think this name is a little confusing, because the hardware does su

r281357 - AMDGPU: Fix target options fp32/64-denormals

2016-09-13 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Sep 13 12:37:09 2016 New Revision: 281357 URL: http://llvm.org/viewvc/llvm-project?rev=281357&view=rev Log: AMDGPU: Fix target options fp32/64-denormals Fix target options for fp32/64-denormals so that +fp64-denormals is set if fp64 is supported -fp32-denormals if fp32 d

Re: [PATCH] D24512: AMDGPU: Fix target options fp32/64-denormals

2016-09-13 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL281357: AMDGPU: Fix target options fp32/64-denormals (authored by yaxunl). Changed prior to commit: https://reviews.llvm.org/D24512?vs=71183&id=71201#toc Repository: rL LLVM https://reviews.llvm.org

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

2016-09-15 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: Anastasia, bader. yaxunl added subscribers: cfe-commits, nhaustov, rampitec. Herald added a subscriber: yaxunl. https://reviews.llvm.org/D24626 Files: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/SemaOpenCL/half.

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

2016-09-16 Thread Yaxun Liu via cfe-commits
yaxunl created this revision. yaxunl added reviewers: Anastasia, bader. yaxunl added subscribers: cfe-commits, nhaustov, rampitec. Herald added a subscriber: yaxunl. https://reviews.llvm.org/D24666 Files: lib/Sema/SemaDecl.cpp test/SemaOpenCL/half.cl test/SemaOpenCL/invalid-kernel-parameter

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

2016-09-16 Thread Yaxun Liu via cfe-commits
yaxunl updated this revision to Diff 71667. yaxunl added a comment. Remove redundant diagnostic msg. https://reviews.llvm.org/D24666 Files: lib/Sema/SemaDecl.cpp test/SemaOpenCL/half.cl test/SemaOpenCL/invalid-kernel-parameters.cl Index: test/SemaOpenCL/invalid-kernel-parameters.cl =

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

2016-09-16 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

r298767 - [AMDGPU] Switch address space mapping by triple environment amdgiz

2017-03-24 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Mar 24 22:46:25 2017 New Revision: 298767 URL: http://llvm.org/viewvc/llvm-project?rev=298767&view=rev Log: [AMDGPU] Switch address space mapping by triple environment amdgiz For target environment amdgiz and amdgizcl (giz means Generic Is Zero), AMDGPU will use new addr

r298773 - [AMDGPU] Make AMDGPUTargetInfo::AS private

2017-03-25 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Mar 25 06:34:41 2017 New Revision: 298773 URL: http://llvm.org/viewvc/llvm-project?rev=298773&view=rev Log: [AMDGPU] Make AMDGPUTargetInfo::AS private Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/trunk/lib/Basic/Targets.cpp URL: http://llvm.org/viewvc/llv

r299691 - [AMDGPU] Temporarily change constant address space from 4 to 2 for the new address space mapping

2017-04-06 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Apr 6 14:18:36 2017 New Revision: 299691 URL: http://llvm.org/viewvc/llvm-project?rev=299691&view=rev Log: [AMDGPU] Temporarily change constant address space from 4 to 2 for the new address space mapping Change constant address space from 4 to 2 for the new address spac

r299965 - [OpenCL] Map default address space to alloca address space

2017-04-11 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Apr 11 12:24:23 2017 New Revision: 299965 URL: http://llvm.org/viewvc/llvm-project?rev=299965&view=rev Log: [OpenCL] Map default address space to alloca address space For OpenCL, the private address space qualifier is 0 in AST. Before this change, 0 address space qualifi

r300485 - CodeGen: Let lifetime intrinsic use alloca address space

2017-04-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Apr 17 15:03:11 2017 New Revision: 300485 URL: http://llvm.org/viewvc/llvm-project?rev=300485&view=rev Log: CodeGen: Let lifetime intrinsic use alloca address space Differential Revision: https://reviews.llvm.org/D31717 Added: cfe/trunk/test/CodeGenOpenCL/lifetime.cl

r300487 - CodeGen: Let byval parameter use alloca address space

2017-04-17 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon Apr 17 15:10:44 2017 New Revision: 300487 URL: http://llvm.org/viewvc/llvm-project?rev=300487&view=rev Log: CodeGen: Let byval parameter use alloca address space Differential Revision: https://reviews.llvm.org/D32133 Added: cfe/trunk/test/CodeGenOpenCL/byval.cl Modif

r306721 - CodeGen: Fix invalid bitcast for coerced function argument

2017-06-29 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Jun 29 11:47:45 2017 New Revision: 306721 URL: http://llvm.org/viewvc/llvm-project?rev=306721&view=rev Log: CodeGen: Fix invalid bitcast for coerced function argument Clang assumes coerced function argument is in address space 0, which is not always true and results in i

r307105 - [AMDGPU] Fix regressions on mesa/clover with libclc due to address space

2017-07-05 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Jul 4 12:57:18 2017 New Revision: 307105 URL: http://llvm.org/viewvc/llvm-project?rev=307105&view=rev Log: [AMDGPU] Fix regressions on mesa/clover with libclc due to address space Currently AMDGPUTargetInfo does not initialize AddrSpaceMap in constructor, which causes r

r307121 - [AMDGPU] Fix size and alignment of size_t and pointer types

2017-07-05 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Jul 4 21:58:24 2017 New Revision: 307121 URL: http://llvm.org/viewvc/llvm-project?rev=307121&view=rev Log: [AMDGPU] Fix size and alignment of size_t and pointer types Differential Revision: https://reviews.llvm.org/D34995 Added: cfe/trunk/test/CodeGenOpenCL/amdgpu-s

r307470 - CodeGen: Fix address space of global variable

2017-07-08 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Jul 8 06:24:52 2017 New Revision: 307470 URL: http://llvm.org/viewvc/llvm-project?rev=307470&view=rev Log: CodeGen: Fix address space of global variable Certain targets (e.g. amdgcn) require global variable to stay in global or constant address space. In C or C++ global

r307483 - Fix build failure with gcc about mixing enum and non-enum

2017-07-08 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Jul 8 12:13:41 2017 New Revision: 307483 URL: http://llvm.org/viewvc/llvm-project?rev=307483&view=rev Log: Fix build failure with gcc about mixing enum and non-enum Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp cfe/trunk/lib/CodeGen/TargetInfo.cpp Modified:

<    3   4   5   6   7   8   9   10   11   12   >