================
Comment at: lib/Transforms/InstCombine/InstCombineSelect.cpp:73
@@ +72,3 @@
+
+ // (X > -1) ? X : -X
+ if (ConstantInt *C1 = dyn_cast<ConstantInt>(CmpRHS)) {
----------------
What about X < 0 ? -X : X;?
http://reviews.llvm.org/D3658