[all-commits] [llvm/llvm-project] 7fa5ab: [SelectionDAG] Fix assertion failure with big shif...
LemonBoy via All-commits
all-commits at lists.llvm.org
Wed May 6 11:59:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7fa5abd3437e94e0983a3baf323cac574d92fc03
https://github.com/llvm/llvm-project/commit/7fa5abd3437e94e0983a3baf323cac574d92fc03
Author: LemonBoy <thatlemon at gmail.com>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/test/CodeGen/X86/load-local-v3i129.ll
Log Message:
-----------
[SelectionDAG] Fix assertion failure with big shift amounts
Calling getShiftAmountTy with LegalTypes set may return a type that's too narrow to hold the shift amount for integer type it's applied to.
Fixes the regression introduced by D79096
Differential Revision: https://reviews.llvm.org/D79405
More information about the All-commits
mailing list