Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [mlir] Fix -Wunused (details)
  2. [AMDGPU] Fix getInstrLatency() always returning 1 (details)
  3. [lldb][NFC] Rewrite python_api/rdar-12481949 test (details)
  4. [libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on (details)
  5. [AMDGPU] Model distance to instruction in bundle (details)
Commit 547abdd921e45fd65a2fa60f21715facb4af31b2 by sam.mccall
[mlir] Fix -Wunused
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit eca44745871bc46728903aaa262abc6344d4f959 by Stanislav.Mekhanoshin
[AMDGPU] Fix getInstrLatency() always returning 1
We do not have InstrItinerary so generic getInstLatency() was always
defaulting to return 1 cycle. We need to use TargetSchedModel instead to
compute an instruction's latency.
Differential Revision:
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/scheduler-handle-move-bundle.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit d8ffd601d523fa0c0a55e25e62af9ffaa618629d by Raphael Isemann
[lldb][NFC] Rewrite python_api/rdar-12481949 test
Summary: This renames the test `rdar-12481949` to `get-value-32bit-int`
as it just tests that we return the correct result get calling
GetValueAsSigned/GetValueAsUnsigned on 32-bit integers.
It also deletes all the strange things going on in this test including
resetting the data formatters (which are to my knowledge not used to
calculate scalar values) and testing Python's long integers (let's just
assume that our Python distribution works correctly). Also modernises
the setup code.
Reviewers: labath, aprantl
Reviewed By: aprantl
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision:
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Makefile
Commit 6d8abe424a77f736fbed114eeac574b9bfe6b0c1 by bion
[libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on
A bug was filed that these warnings should not be emitted as
DevCom-883961. (
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
Commit ad741853c38880dff99cd5b5035b8965c5a73011 by Stanislav.Mekhanoshin
[AMDGPU] Model distance to instruction in bundle
This change allows to model the height of the instruction within a
bundle for latency adjustment purposes.
Differential Revision:
The file was addedllvm/test/CodeGen/AMDGPU/bundle-latency.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp