[llvm] [SPIR-V] Add partial order tests, assert reducible (PR #117887)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 04:42:27 PST 2024


================
@@ -20,21 +19,21 @@
 ;       b += 2;
 ;       break;
 ;     case 3:
-;     {
-;       b += 3;
-;       break;
-;     }
+;       {
+;         b += 3;
+;         break;
+;       }
 ;     case t:
 ;       b += t;
 ;     case 4:
 ;     case 5:
 ;       b += 5;
 ;       break;
 ;     case 6: {
-;     case 7:
-;       break;}
+;               case 7:
+;                 break;}
 ;     default:
-;       break;
+;             break;
----------------
Keenuts wrote:

no, error when doing a clang-format of the code. Reverted this part.

https://github.com/llvm/llvm-project/pull/117887


More information about the llvm-commits mailing list