Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 6c3e6aa

Browse files
committed
[X86] Add a test case to show scalarized vector srem to demonstrate unnecessary instructions. NFC
After the division %ah is being sign extended to move it to lower byte of a register while avoiding a partial register read. We then zero extend the low byte to the full 32 bit register. But we don't use any of the zero extended bits. In the DAG the zero extend was really an any_extend so the sign extend should have been enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346580 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8614602 commit 6c3e6aa

File tree

1 file changed

+415
-0
lines changed

1 file changed

+415
-0
lines changed

0 commit comments

Comments
 (0)