[PATCH] D64109: Standardize on MSVC behavior for triples with no environment

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 15:56:25 PDT 2019


rnk created this revision.
rnk added a reviewer: compnerd.
Herald added subscribers: dexonsmith, hiraditya.
Herald added a project: LLVM.

This makes it so that IR files using triples without an environment work
out of the box, without normalizing them.

Typically, the MSVC behavior is more desirable. For example, it tends to
enable things like constant merging, use of associative comdats, etc.

Addresses PR42491


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64109

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/IR/Mangler.cpp
  llvm/lib/MC/MCWinCOFFStreamer.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/test/CodeGen/X86/win_cst_pool.ll
  llvm/unittests/ADT/TripleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64109.207647.patch
Type: text/x-patch
Size: 7952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190702/29e7213c/attachment.bin>


More information about the llvm-commits mailing list