OSDN Git Service

[SelectionDAG] Support promotion of PREFETCH operands
authorAlex Bradbury <asb@lowrisc.org>
Fri, 30 Nov 2018 10:06:31 +0000 (10:06 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Fri, 30 Nov 2018 10:06:31 +0000 (10:06 +0000)
commitcdc3118297348c68b25dff92b504581f5dd78000
treec7f093bc2e03768e2dea7ffe8ac98c48760024e1
parent24b8fd959ee5c554e8a488c74ced6c607371acbc
[SelectionDAG] Support promotion of PREFETCH operands

For targets where i32 is not a legal type (e.g. 64-bit RISC-V),
LegalizeIntegerTypes must promote the operands of ISD::PREFETCH.

Differential Revision: https://reviews.llvm.org/D53281

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347980 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
test/CodeGen/RISCV/prefetch.ll [new file with mode: 0644]