Add testcase for sparc backend