[PATCH] D59041: [SDAG][X86] Expand pow2 mulo using shifts

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 00:08:09 PST 2019


nikic planned changes to this revision.
nikic added inline comments.


================
Comment at: llvm/test/CodeGen/X86/mulo-pow2.ll:133
 
 define <4 x i32> @smul_v4i32_2pow31(<4 x i32> %a, <4 x i32> %b) nounwind {
 ; AVX-LABEL: smul_v4i32_2pow31:
----------------
This one isn't right ... INT_MIN can be multiplied by 0 and 1, not by 0 and -1.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59041/new/

https://reviews.llvm.org/D59041





More information about the llvm-commits mailing list