On Mon, 2022-09-26 at 14:56 +0800, Liwei Xu via Gcc-patches wrote: > This patch implemented the optimization in PR 54346, which Merges > > c = VEC_PERM_EXPR <a, b, VCST0>; > d = VEC_PERM_EXPR <c, c, VCST1>; > to > d = VEC_PERM_EXPR <a, b, NEW_VCST>; > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,} > tree-ssa/forwprop-19.c fail to pass but I'm not sure whether it > is ok to removed it.
I'm getting: FAIL: gcc.dg/pr54346.c scan-tree-dump dse1 "VEC_PERM_EXPR.*{ 3, 6, 0, 0 }" FAIL: gcc.dg/pr54346.c scan-tree-dump-times dse1 "VEC_PERM_EXPR" 1 on loongarch64-linux-gnu. Not sure why. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University