[all-commits] [llvm/llvm-project] 930bc6: [InstCombine] Avoid use of ConstantExpr::getSExtOr...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Nov 1 08:11:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 930bc6c7b5f3d1c3a4f2f1a09414700aab526f17
https://github.com/llvm/llvm-project/commit/930bc6c7b5f3d1c3a4f2f1a09414700aab526f17
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getSExtOrTrunc()
InstCombine will canonicalize the index type, no need to handle
the non-canonical case.
More information about the All-commits
mailing list