aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-02-16 13:00:25 -0800
committerGitHub <noreply@github.com>2024-02-16 13:00:25 -0800
commit4265ad12154caa92d47e8ff839ed3f3876922fd6 (patch)
tree4389028f98e9bd1a2ccaa0b98646e69f87c73ffa /clang/lib/CodeGen/CodeGenModule.cpp
parent46734aa1e5fed0c6a11855280d83c3513b794aaa (diff)
downloadllvm-4265ad12154caa92d47e8ff839ed3f3876922fd6.zip
llvm-4265ad12154caa92d47e8ff839ed3f3876922fd6.tar.gz
llvm-4265ad12154caa92d47e8ff839ed3f3876922fd6.tar.bz2
[RISCV] Adjust sdloc when creating an extend for widening instructions (#82040)
We were using the SDLoc corresponding to the original arithmetic instruction, but here using the SDLoc corresponding to the original extend if we need to introduce a new narrower extend seems cleaner. As can be seen in the test diffs, this very minorly impacts scheduling and register allocation by given the scheduler a hint from original program order.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions