[all-commits] [llvm/llvm-project] 982ebe: [X86] Pre-commit test case for bug in combineShift...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Tue Mar 26 12:50:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 982ebeb212ddb354e2babc1ce1ddfccc06b6ea27
https://github.com/llvm/llvm-project/commit/982ebeb212ddb354e2babc1ce1ddfccc06b6ea27
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/sar_fold.ll
Log Message:
-----------
[X86] Pre-commit test case for bug in combineShiftRightArithmetic
It has been noticed that combineShiftRightArithmetic isn't dealing
properly with large shift amounts, as demonstrated by the test
case added in this commit.
I think the problem partly is related to X86 using i8 as shift amount
type during ISel. So shift amount larger then 127 may be treated
as negative shift amounts if not being careful.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list