]> granicus.if.org Git - clang/commit
Override the datalayout in a module with -triple.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 20 Dec 2013 22:01:25 +0000 (22:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 20 Dec 2013 22:01:25 +0000 (22:01 +0000)
commit6d984eb5d2d4b4a0fb64504e03c3d3c19c32024a
treeb1f2dbaee58cbff2fdff047aa01ad1af6254d352
parent97679f3c8caa3edaea2ce577f9f22809b1bfbb2f
Override the datalayout in a module with -triple.

This matches llc's behavior.

Before this patch clang would create a TargetInfo base on -triple but a llvm
CodeGen based on the triple in the module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197837 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenAction.cpp
test/Frontend/ir-support-codegen.ll