[all-commits] [llvm/llvm-project] a60dea: [ConstantHoisting] Don't attempt to hoist Constant...
Paul Walker via All-commits
all-commits at lists.llvm.org
Mon Mar 18 04:36:05 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a60deaa2046b2aafc4ba2542d6ad42b80af054b0
https://github.com/llvm/llvm-project/commit/a60deaa2046b2aafc4ba2542d6ad42b80af054b0
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/test/Transforms/ConstantHoisting/AArch64/large-immediate.ll
Log Message:
-----------
[ConstantHoisting] Don't attempt to hoist ConstantInt vectors. (#85416)
The pass uses the TTI hook getIntImmCostIntrin that only supports scalar
integer types. Whilst hoisting expensive vector constant is likely
worthwhile, this is new behaviour and so I've followed the path taken by
the GEP variant of collectConstantCandidates and simply bail for vector
types.
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