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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to