Displaying 3 results from an estimated 3 matches for "r207054".
Did you mean:
r203054
2017 Jan 02
3
Optimisation passes introducing address space casts
...ment above?
I can (and have) fixed this as part of the patch I’m working on, but since this implies that a couple of existing regression tests would be incorrect I just wanted to double-check that I’m not misinterpreting something.
CCing Matt Arsenault who added those specific tests originally in r207054.
James
> On 9 Nov 2016, at 21:11, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> Hi,
>
>> On Nov 9, 2016, at 10:13 AM, James Price via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hi,
>>
>> I’ve recently encountered an issue where...
2017 Jan 03
2
Optimisation passes introducing address space casts
...(and have) fixed this as part of the patch I’m working on, but since this implies that a couple of existing regression tests would be incorrect I just wanted to double-check that I’m not misinterpreting something.
>>
>> CCing Matt Arsenault who added those specific tests originally in r207054.
>>
>> James
>>
>>> On 9 Nov 2016, at 21:11, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote:
>>>
>>> Hi,
>>>
>>>> On Nov 9, 2016, at 10:13 AM, James Price via llvm-dev <llvm-dev at l...
2016 Nov 09
2
Optimisation passes introducing address space casts
Hi,
I’ve recently encountered an issue where the `instcombine` pass replaces an `llvm.memcpy` between two distinct address spaces with an `addrspacecast` instruction.
As an example, see the trivial OpenCL kernel attached. I’m compiling like this:
clang -cc1 -triple spir64-unknown-unknown -x cl -O0 -emit-llvm array_init.cl -o before.ll
This yields an `llvm.memcpy` to copy the array