Re: r346548 - Use the correct address space when bitcasting func pointer to int pointer

2018-11-09 Thread Roman Lebedev via cfe-commits
The codegen change can't be tested? On Fri, Nov 9, 2018 at 10:44 PM Dylan McKay via cfe-commits wrote: > > Author: dylanmckay > Date: Fri Nov 9 11:42:05 2018 > New Revision: 346548 > > URL: http://llvm.org/viewvc/llvm-project?rev=346548=rev > Log: > Use the correct address space when bitcasting

r346548 - Use the correct address space when bitcasting func pointer to int pointer

2018-11-09 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Fri Nov 9 11:42:05 2018 New Revision: 346548 URL: http://llvm.org/viewvc/llvm-project?rev=346548=rev Log: Use the correct address space when bitcasting func pointer to int pointer When we cast a function pointer to an int pointer, at some pointer later it gets bitcasted