[all-commits] [llvm/llvm-project] 87cdc8: [LLVM][ConstFolds] Verify a scalar src before atte...
Paul Walker via All-commits
all-commits at lists.llvm.org
Tue Oct 8 05:29:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87cdc8328d6c79da6dcce85eb318296bc5b42e82
https://github.com/llvm/llvm-project/commit/87cdc8328d6c79da6dcce85eb318296bc5b42e82
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
Log Message:
-----------
[LLVM][ConstFolds] Verify a scalar src before attempting scalar->vector bitcast transformation. (#111149)
It was previously safe to assume isa<Constant{Int,FP}> meant a scalar
value. This is not true when use-constant-##-for-###-splat are enabled.
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