[PATCH] Address Space Casting

Michele Scandale michele.scandale at gmail.com
Fri Sep 6 07:16:55 PDT 2013


  Here a newer version of the patch:
  -  changed the auto upgrade mechanism in order to convert illegal bitcast to a pair ptrtoint+inttoptr.
  - the autoupgrade now is done only in the bitcode reader
  - fixed some tests due to illegal bitcast presence (after the removal of the autoupgrade on the textual IR)
  - modified LangRef.rst to reflect proposed improvement

  Thanks in advance.

  Best regards,
  -Michele

Hi arsenm, villmow, theraven,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1401?vs=3977&id=4102#toc

Files:
  docs/LangRef.rst
  include/llvm-c/Core.h
  include/llvm/AutoUpgrade.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/CodeGen/ISDOpcodes.h
  include/llvm/CodeGen/SelectionDAG.h
  include/llvm/CodeGen/SelectionDAGNodes.h
  include/llvm/IR/Constants.h
  include/llvm/IR/IRBuilder.h
  include/llvm/IR/Instruction.def
  include/llvm/IR/Instructions.h
  include/llvm/InstVisitor.h
  include/llvm/Target/TargetLowering.h
  lib/Analysis/ConstantFolding.cpp
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/IR/AutoUpgrade.cpp
  lib/IR/ConstantFold.cpp
  lib/IR/Constants.cpp
  lib/IR/Core.cpp
  lib/IR/Instruction.cpp
  lib/IR/Instructions.cpp
  lib/IR/Verifier.cpp
  lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  lib/Target/X86/X86CodeEmitter.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/atomic-dagsched.ll
  test/DebugInfo/X86/dbg-value-isel.ll
  test/Other/constant-fold-gep.ll
  test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll
  test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll
  test/Transforms/InstCombine/cast_ptr.ll
  test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
  test/Transforms/InstCombine/gep-addrspace.ll
  unittests/IR/InstructionsTest.cpp
  utils/kate/llvm.xml
  utils/vim/llvm.vim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1401.6.patch
Type: text/x-patch
Size: 67584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130906/8473670d/attachment.bin>


More information about the llvm-commits mailing list