[PATCH] Fix for crash during SjLj preparation step

Bill Wendling isanbard at gmail.com
Wed Jul 9 15:53:03 PDT 2014

I think there's some misunderstanding of what I'd like to see here. (I confused things by using 'null' for the example.) This is the type of code I was thinking of:

  def void @foo({} %c) {
      %fake_c = select i1 true, {} %c, {} undef
      ; subsequent uses of %fake_c in the code.

This should be valid for all types, whether they are aggregates or not. So you can replace the whole of that code with just this.


More information about the llvm-commits mailing list