[PATCH] D112554: [AMDGPU] Add more llc tests for 48-bit mul generation.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 09:38:47 PDT 2021


foad added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/mul_int24.ll:223
+  %lshr.rhs = shl i64 %rhs, 40
+  %rhs24 = ashr i64 %lhs, 40
+  %mul = mul i64 %lhs24, %rhs24
----------------
"lhs" should be "lshr.rhs" here.


================
Comment at: llvm/test/CodeGen/AMDGPU/mul_int24.ll:286
+  %lshr.rhs = shl <2 x i64> %rhs, <i64 40, i64 40>
+  %rhs24 = ashr <2 x i64> %lhs, <i64 40, i64 40>
+  %mul = mul <2 x i64> %lhs24, %rhs24
----------------
Same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112554



More information about the llvm-commits mailing list