Skip to content

[SYCL] "Assuming SYCL queries fit in int" feature is broken for -O1 #3263

Open
@vmaksimo

Description

@vmaksimo

Describe the bug
https://github.com/intel/llvm/blob/sycl/sycl/test/check_device_code/id_queries_fit_int.cpp test fails after community changes (#3233). "llvm.assume" intrinsic is not generated with O1 optimization level as it expected from test checks.
I temporarily disabled optimizations to unlock pulldown 18b3ac2

To Reproduce

# If the https://github.com/intel/llvm/pull/3233 is not merged yet, fetch the PR:
git fetch origin pull/3233/head:pr_3233
git checkout pr_3233

# Then revert the commit that disables the test
git revert 18b3ac2e317696c066744981d719f4268674365c 

# Then build with the normal procedure https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md#build-dpc-toolchain
python $DPCPP_HOME/llvm/buildbot/configure.py
python $DPCPP_HOME/llvm/buildbot/compile.py

# And run the tests
python $DPCPP_HOME/llvm/buildbot/check.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions