[PATCH] D21739: [TLI] Add functions determining if int parameters/returns should be zeroext/signext.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 16:24:52 PDT 2016


koriakin created this revision.
koriakin added reviewers: vsk, davidxl.
koriakin added a subscriber: llvm-commits.
koriakin set the repository for this revision to rL LLVM.
Herald added a subscriber: jyknight.

On some architectures (s390x, ppc64, sparc64), C-level int is passed
as i32 signext instead of plain i32 (and unsigned likewise as i32 zeroext).
Add this information to TargetLibraryInfo, to be used whenever some LLVM
pass inserts a compiler-rt call to a function involving int parameters
or returns.

Repository:
  rL LLVM

http://reviews.llvm.org/D21739

Files:
  include/llvm/Analysis/TargetLibraryInfo.h
  lib/Analysis/TargetLibraryInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21739.61918.patch
Type: text/x-patch
Size: 4392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160626/0b9dc6ef/attachment.bin>


More information about the llvm-commits mailing list