[all-commits] [llvm/llvm-project] 7f1c8f: [InstCombine] Use ConstantInt::getSigned to sign e...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Dec 27 12:27:27 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7f1c8fc25a4dbf34ed479e0f5c4e85f32d98b8f2
https://github.com/llvm/llvm-project/commit/7f1c8fc25a4dbf34ed479e0f5c4e85f32d98b8f2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-12-27 (Wed, 27 Dec 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/free-inversion.ll
Log Message:
-----------
[InstCombine] Use ConstantInt::getSigned to sign extend -2 for large types. (#76464)
Using ContantInt::get will zero extend.
Fixes #76441
More information about the All-commits
mailing list