[all-commits] [llvm/llvm-project] d314cf: [InstCombine] Avoid use of ConstantExpr::getShl()
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Jun 18 07:34:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d314cf241d61410fa4bd925c1c4355e87209da17
https://github.com/llvm/llvm-project/commit/d314cf241d61410fa4bd925c1c4355e87209da17
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use IRBuilder instead, as we don't care about the return type
here. Use ImmConstant to ensure that constant folding will
succeed.
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