Make opt grab the triple from the module and use it to initialize the target machine.
authorNadav Rotem <nrotem@apple.com>
Tue, 1 Jan 2013 08:00:32 +0000 (08:00 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 1 Jan 2013 08:00:32 +0000 (08:00 +0000)
commitb338d897f9063ed6f02ed52527722c61ef827d5a
tree593f02c99f705e140daad5fa8bcf7a192d302fd7
parent117e4d2e190fe2e6427e5ec0b633048d9a744018
Make opt grab the triple from the module and use it to initialize the target machine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171341 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/CostModel/no_info.ll
test/Transforms/BBVectorize/loop1.ll
tools/opt/opt.cpp