{"push_id":537674280,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e05b232c20fb179d89acd469bea1cb6d1ea6c81f","before":"a1d22cc78923d1450592a9e5823bbb68ee47786f","commits":[{"sha":"e05b232c20fb179d89acd469bea1cb6d1ea6c81f","author":{"email":"76a8e82c3bdc78a1f9490a34857cdee8b1b06a45@anl.gov","name":"Hal Finkel"},"message":"[PowerPC/BlockPlacement] Allow target to provide a per-loop alignment preference\n\nThe existing code provided for specifying a global loop alignment preference.\nHowever, the preferred loop alignment might depend on the loop itself. For\nrecent POWER cores, loops between 5 and 8 instructions should have 32-byte\nalignment (while the others are better with 16-byte alignment) so that the\nentire loop will fit in one i-cache line.\n\nTo support this, getPrefLoopAlignment has been made virtual, and can be\nprovided with an optional MachineLoop* so the target can inspect the loop\nbefore answering the query. The default behavior, as before, is to return the\nvalue set with setPrefLoopAlignment. MachineBlockPlacement now queries the\ntarget for each loop instead of only once per function. There should be no\nfunctional change for other targets.\n\ngit-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225117 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/llvm/commits/e05b232c20fb179d89acd469bea1cb6d1ea6c81f"}]}