Skip to content

0.0 f64 f32 pass in llvm

Posted on:February 16, 2025 at 04:06 AM

example

double ret(){
    return 0.0;
}
float ret2(){
    return -0.0f;
}



__attribute__((noinline)) volatile int d_call(double a) {
    a++;
    return a;
}
#include <stdio.h>
volatile void test() {
    double b=0.0;
    int b1=d_call(b);
    printf("%d",b1);
}

COMPILER EXPOLER