[PATCH] Change objectsize intrinsic to accept different address spaces.

Matt Arsenault Matthew.Arsenault at amd.com
Thu Oct 3 17:17:36 PDT 2013


Hi nlopes,

Bitcasting everything to i8* won't work. Autoupgrade the old
intrinsic declarations to use the new mangling.


http://llvm-reviews.chandlerc.com/D1828

Files:
  include/llvm/IR/Intrinsics.td
  lib/IR/AutoUpgrade.cpp
  test/Assembler/auto_upgrade_intrinsics.ll
  test/CodeGen/ARM/divmod.ll
  test/CodeGen/Generic/crash.ll
  test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll
  test/CodeGen/X86/crash.ll
  test/CodeGen/X86/object-size.ll
  test/Transforms/InstCombine/debuginfo.ll
  test/Transforms/InstCombine/objsize-address-space.ll
  test/Transforms/InstCombine/objsize.ll
  test/Transforms/InstCombine/stpcpy_chk-1.ll
  test/Transforms/InstCombine/strcpy_chk-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1828.1.patch
Type: text/x-patch
Size: 22912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131003/60de4693/attachment.bin>


More information about the llvm-commits mailing list