Re: r285263 - Fix bug when compiling CUDA code with -emit-llvm and -o.

2016-10-26 Thread Justin Lebar via cfe-commits
Thank you for fixing this! On Wed, Oct 26, 2016 at 5:53 PM, Samuel Antao via cfe-commits wrote: > Author: sfantao > Date: Wed Oct 26 19:53:34 2016 > New Revision: 285263 > > URL: http://llvm.org/viewvc/llvm-project?rev=285263&view=rev > Log: > Fix bug when compiling CUDA code with -emit-llvm and

r285263 - Fix bug when compiling CUDA code with -emit-llvm and -o.

2016-10-26 Thread Samuel Antao via cfe-commits
Author: sfantao Date: Wed Oct 26 19:53:34 2016 New Revision: 285263 URL: http://llvm.org/viewvc/llvm-project?rev=285263&view=rev Log: Fix bug when compiling CUDA code with -emit-llvm and -o. In this case the device code is not injected into an host action and therefore the user should get an e