r335634 - [HIP] Remove hip/hc.amdgcn.bc from HIP Toolchains

2018-06-26 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Jun 26 10:40:36 2018 New Revision: 335634 URL: http://llvm.org/viewvc/llvm-project?rev=335634=rev Log: [HIP] Remove hip/hc.amdgcn.bc from HIP Toolchains Summary: The hc.amdgcn.bc and hip.amdgcn.bc are removed in VDI build and no longer needed. Reviewers: yaxunl

r335630 - [Test] Initial test commit access

2018-06-26 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Jun 26 10:12:29 2018 New Revision: 335630 URL: http://llvm.org/viewvc/llvm-project?rev=335630=rev Log: [Test] Initial test commit access Modified: cfe/trunk/lib/Driver/ToolChains/HIP.cpp Modified: cfe/trunk/lib/Driver/ToolChains/HIP.cpp URL:

r335765 - [HIP] Support flush denormals bitcode

2018-06-27 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Wed Jun 27 11:58:55 2018 New Revision: 335765 URL: http://llvm.org/viewvc/llvm-project?rev=335765=rev Log: [HIP] Support flush denormals bitcode Summary: Use oclc_daz_opt_on.amdgcn.bc bitcode when option fcuda-flush-denormal-to-zero is enabled, otherwise use

r335774 - [HIP] Fix ordering of device-libs linking

2018-06-27 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Wed Jun 27 12:51:42 2018 New Revision: 335774 URL: http://llvm.org/viewvc/llvm-project?rev=335774=rev Log: [HIP] Fix ordering of device-libs linking Summary: HIP should link the bitcodes with caller functions before callee functions. Also added lit test to check the

r344281 - [HIP] Replace irif library with hip.amdgcn.bc

2018-10-11 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Thu Oct 11 12:41:54 2018 New Revision: 344281 URL: http://llvm.org/viewvc/llvm-project?rev=344281=rev Log: [HIP] Replace irif library with hip.amdgcn.bc No longer use irif amdgcn library, instead we will use the previous fence functions from new hip.amdgcn.bc bitcode

r344285 - [HIP] Remove unused irif bitcode from test

2018-10-11 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Thu Oct 11 12:52:32 2018 New Revision: 344285 URL: http://llvm.org/viewvc/llvm-project?rev=344285=rev Log: [HIP] Remove unused irif bitcode from test This is part of previous commit [HIP] Replace irif library with hip.amdgcn.bc Reviewers: yaxunl Differential

r350426 - [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types

2019-01-04 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Fri Jan 4 11:09:20 2019 New Revision: 350426 URL: http://llvm.org/viewvc/llvm-project?rev=350426=rev Log: [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types The offload bundler action should not unbundle the input file types that does not match the action

r350425 - [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types

2019-01-04 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Fri Jan 4 11:05:41 2019 New Revision: 350425 URL: http://llvm.org/viewvc/llvm-project?rev=350425=rev Log: [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types The offload bundler action should not unbundle the input file types that does not match the action

r357520 - [HIP-Clang] Fat binary should not be produced for non GPU code

2019-04-02 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Apr 2 13:10:18 2019 New Revision: 357520 URL: http://llvm.org/viewvc/llvm-project?rev=357520=rev Log: [HIP-Clang] Fat binary should not be produced for non GPU code Skip producing the fat binary functions for HIP when no device code is present. Reviewers: yaxunl

r357526 - [HIP-Clang] Fat binary should not be produced for non GPU code 2

2019-04-02 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Apr 2 13:49:41 2019 New Revision: 357526 URL: http://llvm.org/viewvc/llvm-project?rev=357526=rev Log: [HIP-Clang] Fat binary should not be produced for non GPU code 2 Also for CUDA, we need to disable producing these fat binary functions when there is no GPU

r357532 - [HIP-Clang] Fat binary should not be produced for non GPU code

2019-04-02 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Apr 2 14:54:41 2019 New Revision: 357532 URL: http://llvm.org/viewvc/llvm-project?rev=357532=rev Log: [HIP-Clang] Fat binary should not be produced for non GPU code clang-format the changes to CUDA and HIP fat binary. Reviewers: yaxunl, tra Differential

r356277 - [HIP-Clang] propagate -mllvm options to opt and llc

2019-03-15 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Fri Mar 15 10:31:51 2019 New Revision: 356277 URL: http://llvm.org/viewvc/llvm-project?rev=356277=rev Log: [HIP-Clang] propagate -mllvm options to opt and llc Change the HIP Toolchain to pass the OPT_mllvm options into OPT and LLC stages. Added a lit test to verify

r353880 - [HIP] Handle compile -m options and propagate into LLC

2019-02-12 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Feb 12 13:21:06 2019 New Revision: 353880 URL: http://llvm.org/viewvc/llvm-project?rev=353880=rev Log: [HIP] Handle compile -m options and propagate into LLC Allow the compile options for -m such as -mxnack/-mno-xnack, -msram-ecc/-mno-sram-ecc,

r353885 - [HIP] Fix hip-toolchain-rdc tests

2019-02-12 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Tue Feb 12 14:01:19 2019 New Revision: 353885 URL: http://llvm.org/viewvc/llvm-project?rev=353885=rev Log: [HIP] Fix hip-toolchain-rdc tests Since we removed changed the way HIP Toolchain will propagate -m options into LLC, we need to remove from these older tests.

r353952 - [HIP] Handle compile -m options and propagate into LLC

2019-02-13 Thread Aaron Enye Shi via cfe-commits
Author: aaronenyeshi Date: Wed Feb 13 08:12:16 2019 New Revision: 353952 URL: http://llvm.org/viewvc/llvm-project?rev=353952=rev Log: [HIP] Handle compile -m options and propagate into LLC Allow the compile options for -m such as -mxnack/-mno-xnack, -msram-ecc/-mno-sram-ecc,