Displaying 2 results from an estimated 2 matches for "07efab21".
2018 Aug 11
2
Need help in understanding llvm optimization
...opers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
> --
> ~Craig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180811/07efab21/attachment-0001.html>
2018 Aug 11
4
Need help in understanding llvm optimization
Hi,
I have below code in C -
int main() {
double x,y;
x = 1e16;
y = (x + 1) - x;
printf("y:%e\n", y);
return 0;
}
llvm bitcode looks like this for this function -
; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
%call = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x
i8], [4 x i8]* @.str, i64 0, i64