simon_tatham marked an inline comment as done.
simon_tatham added inline comments.
================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:14289-14292
case Intrinsic::arm_neon_vqrshifts:
case Intrinsic::arm_neon_vqrshiftu:
// No immediate versions of these to check for.
break;
----------------
dmgreen wrote:
> I know it's not part of this patch, but what is this code for?
I have no idea! They date from rG2e076c4e02fb99 in 2009 which first introduced
NEON support, and even then, the switch they appear in had a `default: break`
clause.
My best guess is that they're intended as a kind of documentation. They signal
to the reader: "I didn't //forget// about these intrinsics, I carefully
considered them, decided they didn't need handling here, and included a comment
saying why not."
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76122/new/
https://reviews.llvm.org/D76122
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits