[PATCH] [X86][SSE] Missing SSE/AVX1 memory folding integer instructions

Simon Pilgrim llvm-dev at redking.me.uk
Wed Jan 21 13:20:17 PST 2015


Sorry some of those old tests aren't very clear as to what is going on at all.


REPOSITORY
  rL LLVM

================
Comment at: test/CodeGen/X86/psubus.ll:29
@@ -28,3 +28,3 @@
 ; SSE2: @test1
-; SSE2: psubusw LCPI0_0(%rip), %xmm0
+; SSE2: psubusw %xmm0, %xmm1
 
----------------
qcolombet wrote:
> Why is this not folded anymore?
Oddly the addition of the folding patterns has allowed the load of the constant (to %xmm0) to be pulled out of the loop.

http://reviews.llvm.org/D7094

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list