[PATCH] D45421: [X86] Emit native IR for pmuldq/pmuludq builtins.

Sanjay Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 9 10:25:01 PDT 2018


spatel added a comment.

In https://reviews.llvm.org/D45421#1061875, @craig.topper wrote:

> Yes. I'll make the llvm changes before committing this. Just wanted to make sure this direction was ok first.


Ah, seems ok then. But instcombine is going to turn these casts into 'and' or 'shl+ashr', right? Shouldn't clang produce those patterns directly? More efficient and no need to toe the illegal type line.


Repository:
  rC Clang

https://reviews.llvm.org/D45421





More information about the cfe-commits mailing list