Use the target options specified on a function to reset the back-end.
authorBill Wendling <isanbard@gmail.com>
Fri, 5 Apr 2013 21:52:40 +0000 (21:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 5 Apr 2013 21:52:40 +0000 (21:52 +0000)
commit13bbe1f52e8d57151e2730db49094e1c62a4c793
treec644c0db1f3b93e2cd324aba10133cfe7cbaee05
parentb6cfeb63f8192724362565567a4cb4aa642baa1d
Use the target options specified on a function to reset the back-end.

During LTO, the target options on functions within the same Module may
change. This would necessitate resetting some of the back-end. Do this for X86,
because it's a Friday afternoon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178917 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/TargetLoweringBase.cpp
lib/CodeGen/TargetOptionsImpl.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h