This patch gives the IR ComputeNumSignBits the same functionality as the DAG version (the code is derived from the existing code).
This an extension of the single input shuffle analysis added with D53659.
Differential D53987
[ValueTracking] peek through 2-input shuffles in ComputeNumSignBits spatel on Nov 1 2018, 10:46 AM. Authored by
Details This patch gives the IR ComputeNumSignBits the same functionality as the DAG version (the code is derived from the existing code). This an extension of the single input shuffle analysis added with D53659.
Diff Detail Event Timeline
Comment Actions Patch updated: |
Don't you still have to check if a valid shuffle mask element references an UNDEF operand?
Or is that guaranteed to have already been handled, the mask element set to undef and caught by containsUndefElement() ?