diff options
author | Dominik Montada <dominik.montada@hightec-rt.com> | 2020-04-01 11:20:15 +0200 |
---|---|---|
committer | Dominik Montada <dominik.montada@hightec-rt.com> | 2020-04-08 11:24:29 +0200 |
commit | 432720f1c4c6b47edfb475f8616e471d14c26974 (patch) | |
tree | 29271f4f10e1071c5d282290b4a95f11154f26e4 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 06ddb7946bb18b9340d0033f5c2d16fb0e075291 (diff) | |
download | llvm-432720f1c4c6b47edfb475f8616e471d14c26974.zip llvm-432720f1c4c6b47edfb475f8616e471d14c26974.tar.gz llvm-432720f1c4c6b47edfb475f8616e471d14c26974.tar.bz2 |
[GlobalISel] Combine sext([sz]ext) -> [sz]ext, zext(zext) -> zext
Summary:
Combine sext(zext x) to (zext x) since the sign-bit is 0
after the zero-extension.
Combine sext(sext x) to (sext x) and ext(zext x) to (zext x)
since the intermediate step is not needed.
Reviewers: arsenm, volkan, aemerson, aditya_nandakumar
Reviewed By: arsenm
Subscribers: jvesely, wdng, nhaehnle, rovka, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77210
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions