mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Temporarily revert the TargetTransform changes.
The TargetTransform changes are breaking LTO bootstraps of clang. I am working with Nadav to figure out the problem, but I am reverting it for now to get our buildbots working. This reverts svn commits: 165665 165669 165670 165786 165787 165997 and I have also reverted clang svn 165741 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -371,8 +371,6 @@ bool LTOCodeGenerator::generateObjectFile(raw_ostream &out,
|
||||
|
||||
// Add an appropriate DataLayout instance for this module...
|
||||
passes.add(new DataLayout(*_target->getDataLayout()));
|
||||
passes.add(new TargetTransformInfo(_target->getScalarTargetTransformInfo(),
|
||||
_target->getVectorTargetTransformInfo()));
|
||||
|
||||
// Enabling internalize here would use its AllButMain variant. It
|
||||
// keeps only main if it exists and does nothing for libraries. Instead
|
||||
|
Reference in New Issue
Block a user