Remove redundant check.
[Stackmap] Specify the triple and cpu to fix the unit test.