Ensure -mcpu=xscale works for arm targets, after rL252903 and rL252904
[oota-llvm.git] / include / llvm / Support / SwapByteOrder.h
index 70564be890ee90c3e900fc42d53a24fdba7d7508..7761fa1d7e01499045b494aa4679da7aa2dff989 100644 (file)
@@ -104,7 +104,7 @@ inline float getSwappedBytes(float C) {
   return out.f;
 }
 
-inline float getSwappedBytes(double C) {
+inline double getSwappedBytes(double C) {
   union {
     uint64_t i;
     double d;