bitcast between long and double on x86-64 #1405
Labels
backend:X86
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
Extended Description
On x86-64 a bitcast from long to double or double to long results triggers an
llc abort. Among other things, this comes up in the expansion of copysign.
long %p(double %t) {
%u = bitcast double %t to long
ret long %u
}
double %q(long %t) {
%u = bitcast long %t to double
ret double %u
}
With llc -march=x86-64, this gets
Cannot yet select: 0x8813318: f64 = bit_convert 0x88135c8
The text was updated successfully, but these errors were encountered: