Skip to content

Commit 5fea25e

Browse files
committed
bitcast as copy?
1 parent 229a165 commit 5fea25e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ bool RISCVInstructionSelector::select(MachineInstr &MI) {
559559
case TargetOpcode::G_INTTOPTR:
560560
case TargetOpcode::G_TRUNC:
561561
case TargetOpcode::G_FREEZE:
562+
case TargetOpcode::G_BITCAST:
562563
return selectCopy(MI, MRI);
563564
case TargetOpcode::G_CONSTANT: {
564565
Register DstReg = MI.getOperand(0).getReg();

0 commit comments

Comments
 (0)