[PATCH] D138551: [PowerPC] Mask constant operands in bit permutation calculation

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 23:43:57 PST 2022


lkail added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/pr59074.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s --check-prefix=LE64
----------------
Any idea why it doesn't crash on `pwr8`?


================
Comment at: llvm/test/CodeGen/PowerPC/pr59074.ll:103
+entry:
+  %v1 = load <2 x i128>, <2 x i128>* %0
+  %v2 = insertelement <2 x i128> %v1, i128 12, i32 0
----------------
Any idea why it doesn't crash for scalars?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138551



More information about the llvm-commits mailing list