mirror of
https://github.com/RPCS3/rsx_program_decompiler.git
synced 2026-07-19 21:33:39 -04:00
[PR #1] [MERGED] Fix "unused" warning and potential inefficiency #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/rsx_program_decompiler/pull/1
Author: @danilaml
Created: 1/11/2016
Status: ✅ Merged
Merged: 1/13/2016
Merged by: @DHrpcs3
Base:
master← Head:patch-1📝 Commits (1)
1f3309bFix "unused" warning and potential inefficiency📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
shader_code/clike_language.h(+3 -3)📄 Description
clang 3.6.0 seems to recognize pattern and optimize int[] creation just fine:
https://goo.gl/9uPGla
While it generates x1.7 as much code with std::string : https://goo.gl/yWVMTa
(~180 against ~300 lines of asm).
For gcc 4.9.2 it's 73 against 200.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.