From 3bababf880bfeaf1bcda7e4f808007621b6bfac8 Mon Sep 17 00:00:00 2001
From: Peter Collingbourne \n" if !
-loop-unroll Unroll loops -loop-unswitch Unswitch loops
+-loopsimplify Canonicalize natural loops -loweratomic Lower atomic intrinsics -lowerinvoke Lower invoke and unwind, for unwindless code generators -lowersetjmp Lower Set Jump
@@ -1547,6 +1548,24 @@ if (X < 3) {
-lowerswitch Lower SwitchInst's to branches
+ This pass lowers atomic intrinsics to non-atomic form for use in a known + non-preemptible environment. +
+ ++ The pass does not verify that the environment is non-preemptible (in + general this would require knowledge of the entire call graph of the + program including any libraries which may not be available in bitcode form); + it simply lowers every atomic intrinsic. +
+