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

[X86] When creating a select for scalar masked sqrt and div builtins make sure...

[X86] When creating a select for scalar masked sqrt and div builtins make sure we optimize the all ones mask case.

This case occurs in the intrinsic headers so we should avoid emitting the mask in those cases.

Factor the code into a helper function to make this easy.

llvm-svn: 336472
parent 33648c33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment