The following program will compile incorrectly because rL216012 added
static relocation model support but not for PIC.
// clang -fpic -mcmodel=large a.cc
double foo() { return 42.0; }This patch adds PIC support.
| Paths 
 |  Differential  D86024  
[X86][FastISel] Support materializing floating-point constants for large code model & PIC ClosedPublic Authored by MaskRay on Aug 15 2020, 2:26 PM. 
Details Summary The following program will compile incorrectly because rL216012 added // clang -fpic -mcmodel=large a.cc
double foo() { return 42.0; }This patch adds PIC support. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Aug 23 2020, 12:38 AM Closed by commit rGbef684154d40: [X86][FastISel] Support materializing floating-point constants for large code… (authored by MaskRay).  ·  Explain WhyAug 23 2020, 8:36 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 287260 llvm/lib/Target/X86/X86FastISel.cpp
 llvm/test/CodeGen/X86/fast-isel-constpool.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||