diff options
author | Maxime Arthaud | 2018-05-28 20:11:32 -0700 |
---|---|---|
committer | Maxime Arthaud | 2018-05-28 20:11:32 -0700 |
commit | 2f4ee8b2c89558c5b59d2ca30dc90cc1e9e54a98 (patch) | |
tree | 09356a139071926c3b5d0962f5d48cdb987cbdc0 /PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch | |
parent | f97eb46db1983d91512f905e9420dc8f43ca5543 (diff) | |
download | aur-2f4ee8b2c89558c5b59d2ca30dc90cc1e9e54a98.tar.gz |
Add patches to fix mips tests
Diffstat (limited to 'PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch')
-rw-r--r-- | PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch b/PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch new file mode 100644 index 000000000000..bf2805b8bef5 --- /dev/null +++ b/PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch @@ -0,0 +1,19 @@ +Index: lib/Target/Mips/MipsFastISel.cpp +=================================================================== +--- lib/Target/Mips/MipsFastISel.cpp ++++ lib/Target/Mips/MipsFastISel.cpp +@@ -1268,10 +1269,10 @@ + return false; + } + +- std::array<MCPhysReg, 4> GPR32ArgRegs = {Mips::A0, Mips::A1, Mips::A2, +- Mips::A3}; +- std::array<MCPhysReg, 2> FGR32ArgRegs = {Mips::F12, Mips::F14}; +- std::array<MCPhysReg, 2> AFGR64ArgRegs = {Mips::D6, Mips::D7}; ++ std::array<MCPhysReg, 4> GPR32ArgRegs = {{Mips::A0, Mips::A1, Mips::A2, ++ Mips::A3}}; ++ std::array<MCPhysReg, 2> FGR32ArgRegs = {{Mips::F12, Mips::F14}}; ++ std::array<MCPhysReg, 2> AFGR64ArgRegs = {{Mips::D6, Mips::D7}}; + auto NextGPR32 = GPR32ArgRegs.begin(); + auto NextFGR32 = FGR32ArgRegs.begin(); + auto NextAFGR64 = AFGR64ArgRegs.begin(); |