[PATCH] Reject bitcasts between address spaces with different sizes

Matt Arsenault Matthew.Arsenault at amd.com
Wed Jul 3 18:05:04 PDT 2013


  Handle constant uses in GlobalValues. Still uses DataLayout and compares pointer sizes instead of just the address space.

Hi eli.friedman,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1083?vs=2661&id=2671#toc

Files:
  docs/LangRef.rst
  include/llvm/AutoUpgrade.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/IR/AutoUpgrade.cpp
  lib/IR/Verifier.cpp
  test/Bitcode/bitcast-address-space-nested-global-cycle.ll
  test/Bitcode/bitcast-address-space-nested-global.ll
  test/Bitcode/bitcast-upgrade.ll
  test/Bitcode/bitcast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1083.3.patch
Type: text/x-patch
Size: 22588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130703/143937fa/attachment.bin>


More information about the llvm-commits mailing list