[PATCH] D53251: [WebAssembly] Custom lower i64x2 constant shifts to avoid wrap

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 17 12:07:03 PDT 2018


aheejin added inline comments.


================
Comment at: test/CodeGen/WebAssembly/simd-arith.ll:609
+; SIMD128-NEXT: i32.const $push[[L0:[0-9]+]]=, 5{{$}}
+; SIMD128-NEXT: i64x2.shl $push[[R:[0-9]+]]=, $0, $pop[[L0]]{{$}}
 ; SIMD128-NEXT: return $pop[[R]]{{$}}
----------------
Are there also test cases for two `shr`s?


Repository:
  rL LLVM

https://reviews.llvm.org/D53251





More information about the llvm-commits mailing list