[PATCH] D67631: Add AutoUpgrade function to add new address space datalayout string to existing datalayouts.

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 13:08:15 PDT 2019


akhuang created this revision.
akhuang added reviewers: rnk, echristo.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Add function to AutoUpgrade to change the datalayout of old X86 datalayout strings.
This adds "-p270:32:32-p271:32:32-p272:64:64" to X86 datalayouts that are otherwise valid
and don't already contain it.

This also removes the compatibility changes in https://reviews.llvm.org/D66843.
Datalayout change in https://reviews.llvm.org/D64931.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67631

Files:
  llvm/include/llvm/IR/AutoUpgrade.h
  llvm/include/llvm/Target/TargetMachine.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/lib/Target/X86/X86TargetMachine.cpp
  llvm/lib/Target/X86/X86TargetMachine.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67631.220380.patch
Type: text/x-patch
Size: 5072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190916/f0ec7a49/attachment.bin>


More information about the llvm-commits mailing list