[all-commits] [llvm/llvm-project] 572423: [InstCombine] Only fold trunc(ext) pairs to bitcas...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Mon Jun 13 05:34:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5724231af279d2acf7a6f7b44fe9089456c37777
https://github.com/llvm/llvm-project/commit/5724231af279d2acf7a6f7b44fe9089456c37777
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M llvm/lib/IR/Instructions.cpp
M llvm/test/Transforms/InstCombine/fpextend.ll
Log Message:
-----------
[InstCombine] Only fold trunc(ext) pairs to bitcast if the source and destination types are the same
This used to be always the case, but the addition of bfloat to the type
matrix makes this invalid.
More information about the All-commits
mailing list