mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 05:31:43 +00:00
PR24605 is caused due to an incorrect insert point in instcombine's IR builder. When simplifying %t = add X Y ... %m = icmp ... %t the replacement for %t should be placed before %t, not before %m, as there could be a use of %t between %t and %m. llvm-svn: 246315