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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 01:36:08 PST 2025


https://github.com/nikic commented:

Is it possible to support this in https://github.com/llvm/llvm-project/blob/0fa59c636278324aaea55c3bc60489af88646a32/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp#L3738-L3747 instead? I.e. do the transform in two steps, first pushing frexp over select, and then the extractvalue? (Probably implementing https://github.com/llvm/llvm-project/issues/112408 would automatically do this?)

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


More information about the llvm-commits mailing list