FastISel: Fix incorrectly using getPointerTy (#110465)
commitf12830aac9040b03d3d53c66d65528bd26a6e47a
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 30 Sep 2024 09:43:53 +0000 (30 13:43 +0400)
committerTobias Hieta <tobias@hieta.se>
Tue, 15 Oct 2024 06:50:50 +0000 (15 08:50 +0200)
tree638869c9a7a8572b3dbaceef5401e376d0b755e1
parentc36d7fd568a5da5b9ea5b0e6f60b1210ecc512d0
FastISel: Fix incorrectly using getPointerTy (#110465)

This was using the default address space instead of the
correct one.

Fixes #56055

Keep old method around for ABI compatibility on the release branch.

(cherry picked from commit 81ba95cefe1b5a12f0a7d8e6a383bcce9e95b785)
llvm/include/llvm/CodeGen/FastISel.h
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/issue56055.ll [new file with mode: 0644]