[llvm] [InstCombine] InstCombine should fold frexp of select to select of frexp (PR #121227)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 20:54:57 PST 2025


arsenm wrote:

> > I.e. do the transform in two steps, first pushing frexp over select, and then the extractvalue? (Probably implementing #112408 would automatically do this?)

I don't see isTriviallyVectorizable used in InstCombine so I don't think that would help. Do you mean such that we would end up producing a select of struct? 



https://github.com/llvm/llvm-project/pull/121227


More information about the llvm-commits mailing list