You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MIPS ISAs before "Revision 6" do not support third operand for the rdhwr instruction. But LLVM generates three-operands version of the instruction on any MIPS64 ISAs. This is regression caused by r335162.
Extended Description
MIPS ISAs before "Revision 6" do not support third operand for the rdhwr instruction. But LLVM generates three-operands version of the instruction on any MIPS64 ISAs. This is regression caused by r335162.
% cat test.ll
declare i8* @llvm.thread.pointer() nounwind readnone
define i8* @thread_pointer() {
%1 = tail call i8* @llvm.thread.pointer()
ret i8* %1
}
% llc -march=mips64 < test.ll
...
rdhwr $3, $29, 0
% llc -march=mips < test.ll
...
rdhwr $3, $29
The text was updated successfully, but these errors were encountered: