2 Commits

Author SHA1 Message Date
Matt Arsenault
29d2a9bf9d InstSimplify: Handle basic folds for frexp
Handle constant folding and idempotent folding. Not sure
this is an appropriate use of undef for the inf/nan case. The
C version says the second result is "unspecified". The AMDGPU
instruction returns 0.
2023-07-17 17:28:01 -04:00
Matt Arsenault
c874082a0a InstSimplify: Add baseline tests for frexp handling 2023-07-17 17:27:55 -04:00