diff options
author | Fangrui Song <maskray@google.com> | 2020-08-23 08:35:59 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-08-23 08:36:18 -0700 |
commit | bef684154d400df5cfd935a18ed7312a582fe5eb (patch) | |
tree | 1dfc85bc808ab77e9fada481378cc5146516a52a /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | a1dc3d241ba00042b6160287f887d1019e36bae0 (diff) | |
download | llvm-bef684154d400df5cfd935a18ed7312a582fe5eb.zip llvm-bef684154d400df5cfd935a18ed7312a582fe5eb.tar.gz llvm-bef684154d400df5cfd935a18ed7312a582fe5eb.tar.bz2 |
[X86][FastISel] Support materializing floating-point constants for large code model & PIC
The following program miscompiles because rL216012 added static
relocation model support but not for PIC.
```
// clang -fpic -mcmodel=large -O0 a.cc
double foo() { return 42.0; }
```
This patch adds PIC support.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D86024
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions