[llvm] r191393 - Teach DAGCombiner how to canonicalize dags according to the rule

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Sep 26 08:37:52 PDT 2013


This causes llc to crash on

-----------------------------
define void @g(i32 %a) {
  %b = lshr i32 %a, 2
  %c = zext i32 %b to i64
  %d = add i64 %c, 1
  %e = shl i64 %c, 2
  tail call void @f(i64 %e)
  ret void
}

declare void @f(i64)
-----------------------------

which is pr17380.

Could you please take a look?

Thanks,
Rafael



More information about the llvm-commits mailing list