[PATCH] D58982: DAG: allow DAG pointer size different from memory representation.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 03:03:09 PDT 2019


t.p.northover updated this revision to Diff 195345.
t.p.northover added a comment.

Switched to using `getPtrExtOrTrunc`. I *think* it's right, but there was a certain amount of guesswork on whether it'll actually work for signed pointers.

I haven't changed `ComputeValueVTs` yet.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58982/new/

https://reviews.llvm.org/D58982

Files:
  llvm/include/llvm/CodeGen/Analysis.h
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/Analysis.cpp
  llvm/lib/CodeGen/AtomicExpandPass.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58982.195345.patch
Type: text/x-patch
Size: 22699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/3a45240c/attachment-0001.bin>


More information about the llvm-commits mailing list