Displaying 1 result from an estimated 1 matches for "1cd2fb71".
2016 Sep 07
4
Problem with Aarch64 ?
Hello,
I am facing an issue with a small test where there is a chance that
sign-extension is not introduced as expected -
#include <stdio.h>
void func( long x )
{
printf(" %ld \n", x);
}
int main()
{
char c = -1;
func ( c ); // c is zero extended to x
return 0;
}
generated IR -
define i32 @main() #0 {
........
store i8 -1, i8* %c, align 1
%2 = load i8,