[PATCH] [Target/X86] Fix crash in assignTopologicalOrder()

Benjamin Kramer benny.kra at gmail.com
Wed May 20 12:36:51 PDT 2015


This isn't the right fix. The resulting code from the test case now looks like this

  movb	a(%rip), %cl
  andb	$127, %cl
  setne	%al
  testb	%cl, %cl
  setne	b(%rip)

There should only be one testb, no andb. I think we just have to remove the dead node after replacing all nodes, I'll commit a fix for that.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9642

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list