[llvm] [NFC][MachineLoopInfo] Consider loads in `isLoopInvariant`. (PR #95632)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 06:12:18 PDT 2024


fhahn wrote:

Thanks for putting this together!

Looks like this currently fails to build

```
/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-qjz4k-1/llvm-project/github-pull-requests/llvm/lib/CodeGen/MachineLoopInfo.cpp:229:23: error: use of undeclared identifier 'mayLoadFromGOTOrConstantPool'

```

Any chance you could add a test for the new behavior? 

https://github.com/llvm/llvm-project/pull/95632


More information about the llvm-commits mailing list