Fix bug with fail when --target=avx1.1-i32x8,avx2-i32x8 - avx11 is not a valid target anymore, need more complete string
This commit is contained in:
@@ -2443,7 +2443,7 @@ Module::CompileAndOutput(const char *srcFile,
|
||||
int i = 0;
|
||||
const char *firstISA;
|
||||
while (i < Target::NUM_ISAS && firstTargetMachine == NULL) {
|
||||
firstISA = Target::ISAToString((Target::ISA) i);
|
||||
firstISA = Target::ISAToTargetString((Target::ISA) i);
|
||||
firstTargetMachine = targetMachines[i++];
|
||||
}
|
||||
Assert(firstTargetMachine != NULL);
|
||||
|
||||
Reference in New Issue
Block a user