[PATCH] D39704: [X86] [CodeGen] Compiler not using SHLD/SHRD instructions when doing double shift pattern combine for 16bit or 8bit arguments (PR35155)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 05:48:06 PST 2017


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/shift-double-x86_64.ll:116
+;  return (a << shift) | (b >> (sizeof(uint_t)*8 - shift));
+;}
+
----------------
Most of these tests should probably be in shift-double.ll (tested on 32 and 64bit targets) and just the 2*i64 cases kept here in shift-double-x86_64.ll


https://reviews.llvm.org/D39704





More information about the llvm-commits mailing list