[PATCH] D22050: [SystemZ] Add support for missing instructions

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 11:49:19 PDT 2016


koriakin added a subscriber: koriakin.

================
Comment at: lib/Target/SystemZ/SystemZInstrInfo.td:1201
@@ -1189,2 +1200,3 @@
   defm SLL : BinaryRSAndK<"sll", 0x89, 0xEBDF, shl, GR32>;
+  defm SLA : BinaryRSAndK<"sla", 0x8B, 0xEBDD, shl, GR32>;
   def SLLG : BinaryRSY<"sllg", 0xEB0D, shl, GR64>;
----------------
Don't give a pattern to this instruction - otherwise, ISel could use it to implement shl, which is incorrect.


http://reviews.llvm.org/D22050





More information about the llvm-commits mailing list