[all-commits] [llvm/llvm-project] a5fc98: [TypePromotion] Don't treat bitcast as a Source
David Green via All-commits
all-commits at lists.llvm.org
Fri Jun 9 00:32:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a5fc9893ac0dcc1d546fde54dd99ae0b92a1108c
https://github.com/llvm/llvm-project/commit/a5fc9893ac0dcc1d546fde54dd99ae0b92a1108c
Author: David Green <david.green at arm.com>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
A llvm/test/Transforms/TypePromotion/AArch64/bitcast.ll
M llvm/test/Transforms/TypePromotion/ARM/casts.ll
Log Message:
-----------
[TypePromotion] Don't treat bitcast as a Source
This removes BitCasts from isSource in Type Promotion, as I don't believe they
need to be treated as Sources. They will usually be from floats or hoisted
constants, where constants will be handled already.
This fixes #62513, but didn't otherwise cause any differences in the tests I
ran.
Differential Revision: https://reviews.llvm.org/D152112
More information about the All-commits
mailing list