[all-commits] [llvm/llvm-project] 792667: [GlobalISel] Check if ShiftAmt is greater then siz...
Mirko BrkuĊĦanin via All-commits
all-commits at lists.llvm.org
Thu Jun 8 08:40:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 792667daddecd90c5ce2e2936dc9116b811c3bb0
https://github.com/llvm/llvm-project/commit/792667daddecd90c5ce2e2936dc9116b811c3bb0
Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
Date: 2023-06-08 (Thu, 08 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.postlegal.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.prelegal.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/shl-ext-reduce.ll
Log Message:
-----------
[GlobalISel] Check if ShiftAmt is greater then size of operand
matchCombineShlOfExtend did not check if the size of new shift would be
wider then a size of operand. Current condition did not work if the value
being shifted was zero. Updated to support vector splat.
Patch by: Acim Maravic
Differential Revision: https://reviews.llvm.org/D151122
More information about the All-commits
mailing list