[PATCH] Address Space Casting

Michele Scandale michele.scandale at gmail.com
Sat Aug 17 06:34:17 PDT 2013


  Here a new version of the patch that keep addrspacecast instruction: I applied the modification you suggested and reviewed the CastInst::isEliminableCastPair static method in order to be consistent with the new semantic and modified its unit test.

  About the C bindings, please confirm me if the enumeration of the opcodes can be changed or if it must be binary compatible with the previous version.

  Thanks.

  -Michele

Hi arsenm, villmow, theraven,

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

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

Files:
  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/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/Other/constant-fold-gep.ll
  test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll
  unittests/IR/InstructionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1401.2.patch
Type: text/x-patch
Size: 52698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130817/325dff3a/attachment.bin>


More information about the llvm-commits mailing list