[OpenMP] Fix typo in CodeGenFunction::EmitOMPWorksharingLoop (PR46412)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 8 Sep 2020 10:59:38 +0000 (11:59 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 8 Sep 2020 10:59:38 +0000 (11:59 +0100)
commit58970eb7d1ddd067e98f49fdcfb04373086245bc
tree88f6e65995fe4a12089c27321844bfde98f14557
parent307dc7b236924b5eeb5bf46b725a67dcb41bcd89
[OpenMP] Fix typo in CodeGenFunction::EmitOMPWorksharingLoop (PR46412)

Fixes issue noticed by static analysis where we have a copy+paste typo, testing ScheduleKind.M1 twice instead of ScheduleKind.M2.

Differential Revision: https://reviews.llvm.org/D87250
clang/lib/CodeGen/CGStmtOpenMP.cpp