<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>133753</bug_id>
          
          <creation_ts>2014-06-11 11:45:42 -0700</creation_ts>
          <short_desc>Change the order of the alias analysis passes to align with the opt pipeline of LLVM</short_desc>
          <delta_ts>2014-06-16 12:28:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juergen Ributzka">juergen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>atrick</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1014829</commentid>
    <comment_count>0</comment_count>
    <who name="Juergen Ributzka">juergen</who>
    <bug_when>2014-06-11 11:45:42 -0700</bug_when>
    <thetext>Change the order of the alias analysis passes to align with the opt pipeline of LLVM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014834</commentid>
    <comment_count>1</comment_count>
      <attachid>232880</attachid>
    <who name="Juergen Ributzka">juergen</who>
    <bug_when>2014-06-11 11:55:35 -0700</bug_when>
    <thetext>Created attachment 232880
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014855</commentid>
    <comment_count>2</comment_count>
      <attachid>232880</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2014-06-11 12:41:39 -0700</bug_when>
    <thetext>Comment on attachment 232880
Patch

Seems reasonable. Is this a speedup, or just a cleanup?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014858</commentid>
    <comment_count>3</comment_count>
    <who name="Juergen Ributzka">juergen</who>
    <bug_when>2014-06-11 12:45:27 -0700</bug_when>
    <thetext>I didn&apos;t check if there is a speedup, but I feel more comfortable using an order that is used and tested by the default LLVM opt pipeline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015324</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Trick">atrick</who>
    <bug_when>2014-06-12 20:27:00 -0700</bug_when>
    <thetext>The AA implementations are queried in reverse order, last added, first queried.

For C++, we query BasicAA first for correctness. It may actually disagree with TBAA! If TBAA says objects can&apos;t alias, but they are obviously derived from the same pointer, then TBAA is wrong and we want to catch that.

For JS, that&apos;s not an issue and it makes sense to query TBAA first instead since it is probably faster.

However, if we can&apos;t measure any compile time difference, then I agree with Juergen, that it&apos;s a bit less risky to be consistent with the C++ optimizer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015927</commentid>
    <comment_count>5</comment_count>
      <attachid>232880</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-06-16 12:28:18 -0700</bug_when>
    <thetext>Comment on attachment 232880
Patch

Clearing flags on attachment: 232880

Committed r170022: &lt;http://trac.webkit.org/changeset/170022&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015928</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-06-16 12:28:20 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>232880</attachid>
            <date>2014-06-11 11:55:35 -0700</date>
            <delta_ts>2014-06-16 12:28:18 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-133753-20140611115510.patch</filename>
            <type>text/plain</type>
            <size>2028</size>
            <attacher name="Juergen Ributzka">juergen</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTY5NzczCmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCA5
MGM5ZWU5MTMyNDI1OTk1YjJhNjE4ZDJmYzNmYjA3ZDI3YTE4MjFmLi5iZjk2YWE1YjVjNWRmNTQy
ZjA5ZjY1ODY5N2E3YjZkODJhYWQzY2IxIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxOSBAQAorMjAxNC0wNi0xMSAgSnVlcmdlbiBSaWJ1dHprYSAgPGp1ZXJnZW5AYXBwbGUu
Y29tPgorCisgICAgICAgIENoYW5nZSB0aGUgb3JkZXIgb2YgdGhlIGFsaWFzIGFuYWx5c2lzIHBh
c3NlcyB0byBhbGlnbiB3aXRoIHRoZSBvcHQgcGlwZWxpbmUgb2YgTExWTQorICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTMzNzUzCisKKyAgICAgICAgUmV2
aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgVGhlIG9yZGVyIGluIHdoaWNoIHRo
ZSBhbGlhcyBhbmFseXNpcyBwYXNzZXMgYXJlIGFkZGVkIGFmZmVjdHMgYWxzbyB0aGUKKyAgICAg
ICAgb3JkZXIgaW4gd2hpY2ggdGhleSBhcmUgdXRpbGl6ZWQuIENoYW5nZSB0aGUgb3JkZXIgdG8g
YWxpZ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