search for: ldd5qv

Displaying 4 results from an estimated 4 matches for "ldd5qv".

2017 Apr 26
2
Store unswitch
...ork: > > // Type your code here, or load an example. > int a[10]; > > void unswitch2(int i, int x, int y0, int y1) { > if (x) { > a[i] = y0; > a[i + 1] = y1; > } else { > a[i + 1] = y0; > a[i] = y1; > } > } > > https://godbolt.org/g/Ldd5qV > > On Tue, Apr 25, 2017 at 10:22 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> Thanks, >> >> Looks like inst combine do the job >> >> On Tue, Apr 25, 2017 at 9:36 PM, Davide Italiano <davide at freebsd.org> >> wrote: >> &...
2017 Apr 26
3
Store unswitch
Thanks, Looks like inst combine do the job On Tue, Apr 25, 2017 at 9:36 PM, Davide Italiano <davide at freebsd.org> wrote: > On Tue, Apr 25, 2017 at 9:24 PM, Hongbin Zheng via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hi, > > > > Is there a pass in LLVM that can optimize: > > > > if (x) > > a[i] = y0; > > else > >
2017 Apr 26
2
Store unswitch
...> void unswitch2(int i, int x, int y0, int y1) { >>> if (x) { >>> a[i] = y0; >>> a[i + 1] = y1; >>> } else { >>> a[i + 1] = y0; >>> a[i] = y1; >>> } >>> } >>> >>> https://godbolt.org/g/Ldd5qV >>> >>> On Tue, Apr 25, 2017 at 10:22 PM, Hongbin Zheng <etherzhhb at gmail.com> >>> wrote: >>> >>>> Thanks, >>>> >>>> Looks like inst combine do the job >>>> >>>> On Tue, Apr 25, 2017 at 9:36 PM,...
2017 Apr 28
3
Store unswitch
...) { >>>>> a[i] = y0; >>>>> a[i + 1] = y1; >>>>> } else { >>>>> a[i + 1] = y0; >>>>> a[i] = y1; >>>>> } >>>>> } >>>>> >>>>> https://godbolt.org/g/Ldd5qV >>>>> >>>>> On Tue, Apr 25, 2017 at 10:22 PM, Hongbin Zheng <etherzhhb at gmail.com> >>>>> wrote: >>>>> >>>>>> Thanks, >>>>>> >>>>>> Looks like inst combine do the job >>&gt...