Skip to content

Commit 1e8eb67

Browse files
committed
Address comments
1 parent 1580617 commit 1e8eb67

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3511,7 +3511,6 @@ RISCVInstrInfo::getOutliningTypeImpl(const MachineModuleInfo &MMI,
35113511
return outliner::InstrType::Illegal;
35123512
}
35133513

3514-
// LPADs should not be outlined too
35153514
if (isLPAD(MI))
35163515
return outliner::InstrType::Illegal;
35173516

llvm/lib/Target/RISCV/RISCVInstrPredicates.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ def isNonZeroLoadImmediate
148148
CheckNot<CheckImmOperand<2, 0>>
149149
]>>>;
150150

151-
// Returns true if this is LPAD (auipc with rd = x0)
152151
def isLPAD
153152
: TIIPredicate<"isLPAD",
154153
MCReturnStatement<CheckAll<[

llvm/test/CodeGen/RISCV/machine-outliner-lpad.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2-
; RUN: llc -mtriple riscv64 -mattr=+experimental-zicfilp < %s | FileCheck %s --check-prefixes=CHECK
3-
; RUN: llc -mtriple riscv32 -mattr=+experimental-zicfilp < %s | FileCheck %s --check-prefixes=CHECK
2+
; RUN: llc -mtriple riscv64 -mattr=+experimental-zicfilp < %s | FileCheck %s
3+
; RUN: llc -mtriple riscv32 -mattr=+experimental-zicfilp < %s | FileCheck %s
44

55
define i16 @test1(i16 %x) #0 {
66
; CHECK-LABEL: test1:

0 commit comments

Comments
 (0)