Skip to content

Commit f6e60b5

Browse files
committed
Remove Type cast
1 parent 31e8c6c commit f6e60b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVConstantPoolValue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RISCVConstantPoolValue::RISCVConstantPoolValue(Type *Ty, const GlobalValue *GV)
2525
: MachineConstantPoolValue(Ty), GV(GV), Kind(RISCVCPKind::GlobalValue) {}
2626

2727
RISCVConstantPoolValue::RISCVConstantPoolValue(LLVMContext &C, StringRef S)
28-
: MachineConstantPoolValue((Type *)Type::getInt64Ty(C)), S(S),
28+
: MachineConstantPoolValue(Type::getInt64Ty(C)), S(S),
2929
Kind(RISCVCPKind::ExtSymbol) {}
3030

3131
RISCVConstantPoolValue *RISCVConstantPoolValue::Create(const GlobalValue *GV) {

0 commit comments

Comments
 (0)