[all-commits] [llvm/llvm-project] 8fc9ee: Test that volatile load type isn't changed

JF Bastien via All-commits all-commits at lists.llvm.org
Mon Mar 9 11:22:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fc9eea43a94d83e46614eee47b069e25848fedb
      https://github.com/llvm/llvm-project/commit/8fc9eea43a94d83e46614eee47b069e25848fedb
  Author: JF Bastien <jfbastien at apple.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M llvm/docs/LangRef.rst
    A llvm/test/Transforms/InstCombine/volatile_load_cast.ll

  Log Message:
  -----------
  Test that volatile load type isn't changed

Summary: As discussed in D75505, it's not particularly useful to change the type of a load to/from floating-point/integer because it's followed by a bitcast, and it might lead to surprising code generation. Check that this doesn't generally happen.

Reviewers: lebedev.ri

Subscribers: jkorous, dexonsmith, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75644




More information about the All-commits mailing list