[PATCH] [mips] Account for endianess when expanding BuildPairF64/ExtractElementF64 nodes.

Daniel Sanders daniel.sanders at imgtec.com
Tue Oct 14 07:35:04 PDT 2014


LGTM with 32R2-FP64A-LE and 32R2-FP64A-BE merged together.

================
Comment at: test/CodeGen/Mips/fp64a.ll:41-49
@@ -40,11 +40,11 @@
 
 ; 32R2-FP64A-LE:            addiu   $sp, $sp, -8
 ; 32R2-FP64A-LE:            sw      $4, 0($sp)
 ; 32R2-FP64A-LE:            sw      $5, 4($sp)
 ; 32R2-FP64A-LE:            ldc1    $f0, 0($sp)
 
 ; 32R2-FP64A-BE:            addiu   $sp, $sp, -8
-; 32R2-FP64A-BE:            sw      $5, 0($sp)
-; 32R2-FP64A-BE:            sw      $4, 4($sp)
+; 32R2-FP64A-BE:            sw      $4, 0($sp)
+; 32R2-FP64A-BE:            sw      $5, 4($sp)
 ; 32R2-FP64A-BE:            ldc1    $f0, 0($sp)
 
----------------
Please merge 32R2-FP64A-LE and 32R2-FP64A-BE together now that they are the same.

http://reviews.llvm.org/D5753






More information about the llvm-commits mailing list