[PATCH] D69801: Fix static analysis warnings in ARM calling convention lowering (NFC)

Oliver Stannard (Linaro) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 05:15:10 PST 2019


ostannard created this revision.
ostannard added a reviewer: RKSimon.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

These function parameters are small and not modified inside the functions, so there is no need to pass them by reference.

Fixes https://bugs.llvm.org/show_bug.cgi?id=43891


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69801

Files:
  llvm/lib/Target/ARM/ARMCallingConv.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69801.227696.patch
Type: text/x-patch
Size: 5036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191104/4957632d/attachment.bin>


More information about the llvm-commits mailing list