"...Transforms/git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "fe0197e194a64f950602fb50736b6648a9e5b2a9"
Fix PR4533, which is about buggy codegen in x86-64 -static mode.
Basically, using: lea symbol(%rip), %rax is not valid in -static mode, because the current RIP may not be within 32-bits of "symbol" when an app is built partially pic and partially static. The fix for this is to compile it to: lea symbol, %rax It would be better to codegen this as: movq $symbol, %rax but that will come next. The hard part of fixing this bug was fixing abi-isel, which was actively testing for the wrong behavior. Also, the RUN lines are completely impossible to understand what they are testing. To help with this, convert the -static x86-64 codegen tests to use filecheck. This is much more stable and makes it more clear what the codegen is expected to be. llvm-svn: 75382
Loading
Please register or sign in to comment