Skip to content
Commit df99baa4 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Teach EVEX->VEX pass to turn VRNDSCALE into VROUND when bits 7:4 of the...

[X86] Teach EVEX->VEX pass to turn VRNDSCALE into VROUND when bits 7:4 of the immediate are 0 and the regular EVEX->VEX checks pass.

Bits 7:4 control the scale part of the operation. If the scale is 0 the behavior is equivalent to VROUND.

Fixes PR36246

llvm-svn: 324985
parent 4b89cc1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment