search for: sysbits_010

Displaying 9 results from an estimated 9 matches for "sysbits_010".

2012 Oct 17
4
[LLVMdev] Redundant Add Operation in Code Generation?
...= add i32 %lsr_iv8, %tmp45* %scevgep15 = getelementptr i8* %extIn_013, i32 %uglygep14_sum %scevgep1516 = bitcast i8* %scevgep15 to i16* %tmp79 = load i16* %scevgep1516, align 2 %conv93.i.i = sext i16 %tmp79 to i32 *%uglygep.sum = add i32 %lsr_iv8, %tmp45* %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, appearing that there are two redundant add operations that are not needed yet are generated? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://list...
2012 Oct 17
0
[LLVMdev] Redundant Add Operation in Code Generation?
...> %scevgep15 = getelementptr i8* %extIn_013, i32 %uglygep14_sum > %scevgep1516 = bitcast i8* %scevgep15 to i16* > %tmp79 = load i16* %scevgep1516, align 2 > %conv93.i.i = sext i16 %tmp79 to i32 > %uglygep.sum = add i32 %lsr_iv8, %tmp45 > %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum > > You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, > appearing that there are two redundant add operations that are not needed > yet are generated? CodeGenPrepare manipulates GEPs in a way that can expose redundancy where it wasn...
2012 Oct 19
3
[LLVMdev] Redundant Add Operation in Code Generation?
...t; %scevgep15 = getelementptr i8* %extIn_013, i32 %uglygep14_sum > %scevgep1516 = bitcast i8* %scevgep15 to i16* > %tmp79 = load i16* %scevgep1516, align 2 > %conv93.i.i = sext i16 %tmp79 to i32 > *%uglygep.sum = add i32 %lsr_iv8, %tmp45* > %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum > > You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, > appearing that there are two redundant add operations that are not needed > yet are generated? > > > That's LSR, as you can see from the variable names ;) It might thi...
2012 Oct 19
0
[LLVMdev] Redundant Add Operation in Code Generation?
...> %scevgep15 = getelementptr i8* %extIn_013, i32 %uglygep14_sum > %scevgep1516 = bitcast i8* %scevgep15 to i16* > %tmp79 = load i16* %scevgep1516, align 2 > %conv93.i.i = sext i16 %tmp79 to i32 > %uglygep.sum = add i32 %lsr_iv8, %tmp45 > %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum > > You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, appearing that there are two redundant add operations that are not needed yet are generated? That's LSR, as you can see from the variable names ;) It might think that load(Base + Ind...
2012 Oct 19
2
[LLVMdev] Redundant Add Operation in Code Generation?
...telementptr i8* %extIn_013, i32 %uglygep14_sum >> %scevgep1516 = bitcast i8* %scevgep15 to i16* >> %tmp79 = load i16* %scevgep1516, align 2 >> %conv93.i.i = sext i16 %tmp79 to i32 >> *%uglygep.sum = add i32 %lsr_iv8, %tmp45* >> %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum >> >> You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, >> appearing that there are two redundant add operations that are not needed >> yet are generated? >> >> >> That's LSR, as you can see from the va...
2012 Oct 17
2
[LLVMdev] Redundant Add Operation in Code Generation?
...ementptr i8* %extIn_013, i32 %uglygep14_sum > > %scevgep1516 = bitcast i8* %scevgep15 to i16* > > %tmp79 = load i16* %scevgep1516, align 2 > > %conv93.i.i = sext i16 %tmp79 to i32 > > %uglygep.sum = add i32 %lsr_iv8, %tmp45 > > %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum > > > > You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, > > appearing that there are two redundant add operations that are not needed > > yet are generated? > > CodeGenPrepare manipulates GEPs in a way that can expos...
2012 Oct 19
0
[LLVMdev] Redundant Add Operation in Code Generation?
...getelementptr i8* %extIn_013, i32 %uglygep14_sum >> %scevgep1516 = bitcast i8* %scevgep15 to i16* >> %tmp79 = load i16* %scevgep1516, align 2 >> %conv93.i.i = sext i16 %tmp79 to i32 >> %uglygep.sum = add i32 %lsr_iv8, %tmp45 >> %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum >> >> You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, appearing that there are two redundant add operations that are not needed yet are generated? > > That's LSR, as you can see from the variable names ;) It might think th...
2012 Oct 19
0
[LLVMdev] Redundant Add Operation in Code Generation?
...xtIn_013, i32 %uglygep14_sum >>> %scevgep1516 = bitcast i8* %scevgep15 to i16* >>> %tmp79 = load i16* %scevgep1516, align 2 >>> %conv93.i.i = sext i16 %tmp79 to i32 >>> %uglygep.sum = add i32 %lsr_iv8, %tmp45 >>> %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum >>> >>> You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, appearing that there are two redundant add operations that are not needed yet are generated? >> >> That's LSR, as you can see from the variable names ;) I...
2012 Oct 17
0
[LLVMdev] Redundant Add Operation in Code Generation?
...013, i32 %uglygep14_sum >> > %scevgep1516 = bitcast i8* %scevgep15 to i16* >> > %tmp79 = load i16* %scevgep1516, align 2 >> > %conv93.i.i = sext i16 %tmp79 to i32 >> > %uglygep.sum = add i32 %lsr_iv8, %tmp45 >> > %scevgep11 = getelementptr i8* %sysBits_010, i32 %uglygep_sum >> > >> > You can see here that "add i32 %lsr_iv8, %tmp45" is done multiple times, >> > appearing that there are two redundant add operations that are not >> needed >> > yet are generated? >> >> CodeGenPrepare manipul...