[all-commits] [llvm/llvm-project] bef684: [X86][FastISel] Support materializing floating-poi...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Aug 23 08:36:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bef684154d400df5cfd935a18ed7312a582fe5eb
https://github.com/llvm/llvm-project/commit/bef684154d400df5cfd935a18ed7312a582fe5eb
Author: Fangrui Song <maskray at google.com>
Date: 2020-08-23 (Sun, 23 Aug 2020)
Changed paths:
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/test/CodeGen/X86/fast-isel-constpool.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list