[llvm] [llvm][InstCombine] bitcast bfloat half castpair bug (PR #79832)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 07:57:32 PST 2024
================
@@ -3164,7 +3164,7 @@ unsigned CastInst::isEliminableCastPair(
{ 99,99,99, 2, 2,99,99, 8, 2,99,99, 4, 0}, // FPExt |
{ 1, 0, 0,99,99, 0, 0,99,99,99, 7, 3, 0}, // PtrToInt |
{ 99,99,99,99,99,99,99,99,99,11,99,15, 0}, // IntToPtr |
- { 5, 5, 5, 6, 6, 5, 5, 6, 6,16, 5, 1,14}, // BitCast |
+ { 5, 5, 5, 0, 0, 5, 5, 0, 0,16, 5, 1,14}, // BitCast |
----------------
nikic wrote:
Can you please also remove case 6 from the below switch?
https://github.com/llvm/llvm-project/pull/79832
More information about the llvm-commits
mailing list